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

Issue 627054 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

font-size-adjust affecting text size if zoomed

Reported by tom.by...@digital.cabinet-office.gov.uk, Jul 11 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Steps to reproduce the problem:
1. make sure you have the 'Experimental Web Platform features' flag enabled
2. go to https://www.gov.uk 
3. zoom the page to 150% 

What is the expected behavior?
All text should render at 150% of the font-size specified in the CSS.

What went wrong?
The font-size with 'font-size-adjust: 0.5' applied is not being scaled. You can see this if you compare the GOV.UK text in the logo at the top-left of the page with that in the rest of the page. The logo text scales as expected but the other text does not.

We think it is the cause because setting `font-size-adjust: none` on any element which doesn't scale fixes it.

Did this work before? Yes We think it changed when we shipped some changes at the start of May this year.

Chrome version: 51.0.2704.106  Channel: stable
OS Version: OS X 10.10.5
Flash Version: 

This is one of a few issues we have seen since adding `font-size-adjust` to the CSS for our fonts.

See the following for details:

- https://bugs.chromium.org/p/chromium/issues/detail?id=626670
- https://bugs.chromium.org/p/chromium/issues/detail?id=619078

I've attached screenshots to show the difference between the page when the flag is enabled and when it is not.
 
broken_govuk.png
1.1 MB View Download
fixed_govuk.png
1.6 MB View Download

Comment 1 by shrike@chromium.org, Jul 11 2016

Components: -UI Blink>CSS
Labels: -OS-Mac OS-All
Status: Untriaged (was: Unconfirmed)
Suspecting setCSSFontSizeAdjustEnabled(true);

Comment 2 by meade@chromium.org, Jul 12 2016

Cc: sashab@chromium.org
Labels: Needs-Bisect
Labels: -Needs-Bisect Needs-Feedback
mikelawther@ - This issue looks similar to  bug 619078  could you please confirm it from your end. 

Comment 5 by sashab@chromium.org, Jul 13 2016

@brajkumar: No, these may turn out to have the same root cause but they are different issues. Also, the original poster has referenced that bug already.

Comment 6 by sashab@chromium.org, Jul 13 2016

Cc: shivami...@gmail.com
Components: -Blink>CSS Blink>Layout
Assigning to shivamidow@ (can't put in Owner field since they're not a project member) who has the other font-size-adjust bugs already. I get the feeling one root cause is creating all of these bugs.

Comment 7 by e...@chromium.org, Oct 30 2016

Status: WontFix (was: Untriaged)

Sign in to add a comment