Description(reland) Do not let text-size-adjust override accessibility font settings
The text autosizer is used for both making desktop pages more legible
on mobile, and for applying the accessibility font scale factor. When
text-size-adjust support was added, pages were able to override the
accessibility setting in addition to the autosizing multiplier.
This patch ensures accessibility font scale settings are respected even
with text-size-adjust. A followup bug has been filed (crbug.com/645717)
for moving the accessibility font scale factor out of the autosizer.
This patch also re-enables support for text-size-adjust which was
disabled temporarily due to breaking accessibility settings.
This was reverted due to a forgotten "!" in checking whether the
viewport was specified by the author in TextAutosizer.cpp. A new test
has been added to catch this in the future. The unneeded meta viewport
declarations in all other tests have been removed because they had
no effect with the meta viewport setting disabled.
Original review:
https://codereview.chromium.org/2329733002
BUG=645269, 646342
Committed: https://crrev.com/1229b1414d64c314666d2fb3bf47706f2b5e947b
Cr-Commit-Position: refs/heads/master@{#418488}
Patch Set 1 #Patch Set 2 : Fix check of whether the viewport is specified #
Total comments: 2
Patch Set 3 : Rename test DISABLED_TextSizeAdjustWithoutNeedingAutosizing #
Messages
Total messages: 15 (9 generated)
|