New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 746331 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

text-align-last of "select" element affects inner "option" element.

Reported by babata...@gmail.com, Jul 19 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3161.0 Safari/537.36

Example URL:
https://jsbin.com/tobeqoyamu/edit?html,css,output

Steps to reproduce the problem:
1. Open https://jsbin.com/tobeqoyamu/edit?html,css,output

What is the expected behavior?
I'm not sure whether "text-align" should be applied to the option label or not, but the blink code seems to be ignoring the property.

https://chromium.googlesource.com/chromium/blink/+/118073c4c7ed4bcd57782410422948244b226a10/Source/core/layout/LayoutMenuList.cpp#120

If "text-align" is ignored, "text-align-last" should also be ignored.

What went wrong?
"text-align-last" affects the option label, while "text-align" doesn't affect.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 61.0.3161.0  Channel: canary
OS Version: 10.0
Flash Version:
 
screenshot.png
3.1 KB View Download
Cc: msrchandra@chromium.org
Components: Blink>CSS
Labels: M-61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
@babatakao -- Thank You for the report.
Able to reproduce the issue on Latest Stable# 59.0.3071.115 on Windows, Mac and Linux.
This is a Regression issue broken in M47, below are the bisect details --
Chrome Good Build# 46.0.2490.80
Chrome Bad  Build# 47.0.2526.106

You are probably looking for a change made after 350280 (known good), but no later than 350284 (first known bad).
CHANGELOG URL:
 https://chromium.googlesource.com/chromium/src/+log/8eea7d4bd41472136bf73dccd0d462bd4b2e8124..97b64092f5ef35037be3989d7cf61464e039e185

Unable to find the possible suspect from the above CL. Could some one please look into the issue.
Thank You.

Comment 2 by nainar@chromium.org, Jul 21 2017

Labels: Update-Quarterly Hotlist-Interop
Status: Assigned (was: Untriaged)
Labels: -Update-Quarterly

Sign in to add a comment