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

Issue 624680 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: Drop down text is not centre aligned on ‘Md-settings/language’

Reported by dmascare...@etouch.net, Jun 30 2016

Issue description

Chrome Version:Chrome Version:53.0.2784.0 (Official Build) Revision 642ae4ba1dc7b04a1d480d733cdced28de720e00-refs/heads/master@{#403038}
OS:Windows (7,8,10),Mac(10.10.5)

What steps will reproduce the problem?
1. Launch chrome and navigate to chrome://md-settings/
2. Click on ‘Advanced’ and then click on dropdown arrow beside ‘English’ under ‘Language’section.
3. Click on first iron icon and observe option overlay.

Actual: Drop down text is not centre aligned 
Expected:  Drop down text should be centre aligned  

This is regression issue, broken in ‘M 53’ and narrow bisect info:
https://chromium.googlesource.com/chromium/src/+log/c43e0bb044f911727bcb340753de1fe03514a2ff..7386c581f1a62b85a1bd1d0224d0414a7dad0d9f

Suspect: r402981 ?

Good build:53.0.2783.2 
Bad build:53.0.2785.0

Note: Will soon update Linux info.

 
text.png
61.8 KB View Download
Labels: OS-Linux
Note: 1.Above issue is seen on ‘MD- Downloads’ , ‘MD-History’ ,’MD-Switch Person overlay’, please refer the attached screenshot.
      2.Above issue is seen on Linux, Mac Pro(10.11.4) and Mac Retina(10.11.5)
text.png
105 KB View Download

Comment 2 by dpa...@chromium.org, Jun 30 2016

Labels: Proj-MaterialDesign-WebUI

Comment 3 by dpa...@chromium.org, Jun 30 2016

Cc: michae...@chromium.org
Looking into this. At first glance it seems that https://codereview.chromium.org/2106723003/diff/100001/third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html unexpectedly affected <paper-item> instances styles.

Comment 4 by dpa...@chromium.org, Jun 30 2016

It seems that after the change in paper-item shared styles, all paper-item instances have display:block instead of display:flex, which causes the center alignment bug.

@michaelpg: Should we revert the Polymer change? Or is there a smaller fix we can apply?
Cc: n...@chromium.org
+noms

It's weird that paper-item-shared-styles.html has
  :host {
    display: block;
  }
while paper-item.html has
  :host {
    @apply(--layout-horizontal) 
  }
which of course sets display: flex.

After changing :host to :host(paper-item) in paper-item-shared-styles.html, I guess we need to make the same change in paper-item.html as well to keep the same specificity. But why do these two files have different display properties in the first place?
Cc: tsergeant@chromium.org
 Issue 624704  has been merged into this issue.
Status: Fixed (was: Assigned)
Labels: TE-Verified-53.0.2785.8 TE-Verified-M53
Retested the above issue on All-OS(Windows, Mac 10.11.5 & Ubuntu 14.04) with chrome version '53.0.2785.8' & options overlay under the setting> Languages section is center align. Hence marking the same as TE-Verified-53.0.2785.8.

Thank you!
Screenshot from 2016-07-07 16:50:20.png
194 KB View Download

Sign in to add a comment