Issue metadata
Sign in to add a comment
|
window.getComputedStyle reports non-scaled size when using Accessibility Text Scaling
Reported by
parmstr...@twitter.com,
Apr 11 2017
|
||||||||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Serve the test.html file to a Chrome Android browser 2. Tap "Get Computed Font Size" 3. Enter Chrome Settings > Accessibility and scale the text (any direction) 4. Return to test tab. Tap "Get Computed Font Size" What is the expected behavior? After step 4, the computed font size should be the *scaled* font size. What went wrong? The computed font size is always the original font size without the scaling applied. Did this work before? No Does this work in other browsers? Yes Chrome version: 57.0.2987.132 Channel: stable OS Version: 7.0 Flash Version: Getting the correct size is important for web apps that use window.getComputedStyle to correctly determine and change the height of textareas, so that they appear to "auto grow" instead of show a scrollbar.
,
Apr 18 2017
parmstrong@ Thanks for filing the bug. you mean to say that "Reported Size" is not changing according to scaling ?
,
Apr 18 2017
Correct, the reported size, as you circled never changes, no matter what the text-scaling value is set to.
,
May 5 2017
we are able to repro this issue on all the devices with the above mentioned steps. "Reported Size" never changes, no matter what the text-scaling value is set to. Please find the logs and screen record -> http://go/chrome-androidlogs1/7/710487 This issue is repro on Old chrome builds too (I have checked on M51 build). Not a regression issue.
,
Aug 7 2017
,
Sep 21 2017
Chrome 63.0.3220.0 (Official Build) canary (32-bit) Android OS 8.0.0; Nexus 5X Hello, I am able to reproduce this issue using these steps: # push test.html to device # open in Chrome Canary # Type text into field # Tap Get Computed Font Size Reported size: 16px # Go to Settings > Accessibility and scale to 170% Reported size: 16px
,
Sep 21 2017
Making available for development.
,
Sep 21 2017
,
Aug 9
,
Oct 31
,
Oct 31
leberly: the issue this was merged into looks very different. The other issue is saying that fonts don't scale at all. This issue is strictly regarding the reported style from `window.getComputedStyle` when the fonts *do* scale. |
|||||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||||
Comment 1 by candr...@chromium.org
, Apr 11 2017Components: UI>Accessibility
Labels: triage-te