Bug 94491

Summary: Text Autosizing: Limit multiplier to 1 / minPageScaleFactor.
Product: WebKit Reporter: John Mellor <johnme>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abecsi, aelias, dbates, gyuyoung.kim, johnme, kenneth
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 93862    
Bug Blocks: 84186    

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.