Bug 94491 - Text Autosizing: Limit multiplier to 1 / minPageScaleFactor.
Summary: Text Autosizing: Limit multiplier to 1 / minPageScaleFactor.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 93862
Blocks: FontBoosting
  Show dependency treegraph
 
Reported: 2012-08-20 09:54 PDT by John Mellor
Modified: 2016-09-19 15:11 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Mellor 2012-08-20 09:54:56 PDT
Off-shoot from bug 93862. Text Autosizing makes text bigger on the assumption that you'll be able to zoom out and see a wider area all at once (which will be legible due to the autosizing). However if the user is prevented from zooming out, for example with:
    <meta name="viewport" content="width=980, minimum-scale=1, maximum-scale=1">
then the user won't be able to zoom out, and the increase in text size will be futile - indeed, it will make the text harder to read!.

The multiplier calculated in TextAutosizer::processBox should be capped to 1 / minPageScaleFactor, where minPageScaleFactor takes into account the viewport constraints, and any default constraints set by the browser.

Currently minPageScaleFactor isn't known to WebCore (despite being the viewport part of this being calculated in WebCore/dom/ViewportArguments.cpp), so the main prerequisite for this is for ports to plumb their minPageScaleFactors into WebCore.
Comment 1 Daniel Bates 2016-09-19 15:11:35 PDT
Marking this bug Resolved WontFix because the TEXT_AUTOSIZING feature was removed in <https://trac.webkit.org/changeset/206119> (bug #162167). See bug 84186, comment 32 for more details.