(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 Review-Url: https://codereview.chromium.org/2340553003 Cr-Commit-Position: refs/heads/master@{#418488}
Showing
This diff is collapsed.
Please register or sign in to comment