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

Issue 701284 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Regression: On changing browser language to Hindi, text in autofill overlay is chopped. [Win only?]

Reported by lpa...@etouch.net, Mar 14 2017

Issue description

Chrome Version: 59.0.3041.0 (Official Build) 0192171168e7afc337edc13c150eca4152185cd5-refs/heads/master@{#456562} (32/64-bit)
OS: Windows (7,8,10)

What steps will reproduce the problem?
1) Launch chrome, from chrome://md-settings change the browser language to Hindi and relaunch browser.
2) Navigate to chrome://md-settings/autofill and observe the text for 'Pin code'.

Top side of text is chopped.

Top side of text should not be chopped.

This is a Regression issue broken in M-59, will soon update other info
Manual bisect:
Good build: 59.0.3032.0 
Bad build: 59.0.3034.0 

Note: Issue is not seen on Mac and Linux OS.
 
Autofill_actual.jpg
46.1 KB View Download
Labels: Needs-Bisect
Status: Untriaged (was: Unconfirmed)

Comment 2 by lpa...@etouch.net, Mar 15 2017

Labels: -Needs-Bisect hasbisect
Owner: xiaoche...@chromium.org
Status: Assigned (was: Untriaged)
Narrow Bisect Info:

https://chromium.googlesource.com/chromium/src/+log/ebeb36a0ed4b69c72ce8f2c803bf4233d1cea9f1..266c9a16c8af6638fd43307a4aac5df5077f1c88?pretty=fuller&n=10000

Suspecting: r454958 from Narrow Bisect.

@xiaochengh: Kindly help to re-assign if your change is not the cause for this issue.
Owner: ----
Status: Untriaged (was: Assigned)
r454958 is not relevant. It doesn't introduce any behavior change, but only changes some layout test related files.
Labels: Needs-Bisect

Comment 5 by lpa...@etouch.net, Mar 16 2017

Labels: -Needs-Bisect
Owner: scottchen@chromium.org
Status: Assigned (was: Untriaged)
With response to comment #4: Rebisected on a different machine and getting the same Narrow bisect.
Narrow bisect: 
https://chromium.googlesource.com/chromium/src/+log/ebeb36a0ed4b69c72ce8f2c803bf4233d1cea9f1..266c9a16c8af6638fd43307a4aac5df5077f1c88?pretty=fuller&n=10000

Suspecting: r454940
Status: Started (was: Assigned)
lpanse@, seems like repro is missing a step - there's no such text on chrome://md-settings/autofill. Should I click on something after getting to that page? Also if you could attach a screenshot of the whole webpage that would be helpful for me to locate the mentioned text.

Comment 8 Deleted

Comment 9 Deleted

Owner: ----
Status: Available (was: Started)

Comment 11 by lpa...@etouch.net, Mar 17 2017

Owner: scottchen@chromium.org
Status: Assigned (was: Available)
With response to comment #7:
Correction in steps: In step to after navigating to chrome://md-settings/autofill, click on ADD button under 'Addresses' and observe the Pin code option. Please refer the attached screenshot. 
Text_actual.png
47.1 KB View Download
Owner: ----
Status: Available (was: Assigned)
I don't have a Windows machine, marking as available for someone else to pick up.

Summary: Regression: On changing browser language to Hindi, text in autofill overlay is chopped. [Win only?] (was: Regression: On changing browser language to Hindi, text in autofill overlay is chopped.)
Scott points out (in  Issue 666186 ) that the two bugs may be related (or dupe, not sure).
Owner: tommycli@chromium.org
Taking this on as well to try to repro on Windows.
I can confirm that this is a real bug.

Removing this style with inspector fixes it:

--paper-font-common-nowrap_-_overflow: hidden;
Cc: tommycli@chromium.org
Owner: scottchen@chromium.org
Dug deeper. Root cause is the --paper-input-container-label-floating font-size and line-height definitions introduced here:

https://codereview.chromium.org/2726113003/diff/40001/chrome/browser/resources/settings/settings_vars_css.html

Reverting both these changes fixes it. Also, changing line-height to 1.5rem, for instance, fixes it.

Bouncing this bug back to scott as he must have better insight on the purpose of the original changes. Happy to help you test / iterate on whichever new CSS settings you choose.

Tommy
Status: Started (was: Available)
Status: Assigned (was: Started)
Status: Started (was: Assigned)
Project Member

Comment 20 by bugdroid1@chromium.org, Apr 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/01290e8c82c71cec17fc4c15773aa21d0ee26306

commit 01290e8c82c71cec17fc4c15773aa21d0ee26306
Author: scottchen <scottchen@chromium.org>
Date: Thu Apr 13 21:28:25 2017

MD Settings: fix paper-input label line-height

BUG= 701284 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2813963003
Cr-Commit-Position: refs/heads/master@{#464550}

[modify] https://crrev.com/01290e8c82c71cec17fc4c15773aa21d0ee26306/chrome/browser/resources/settings/settings_vars_css.html

Status: Fixed (was: Started)

Sign in to add a comment