[Webkit-unassigned] [Bug 94491] New: Text Autosizing: Limit multiplier to 1 / minPageScaleFactor.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 09:54:20 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94491

           Summary: Text Autosizing: Limit multiplier to 1 /
                    minPageScaleFactor.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: johnme at chromium.org
                CC: kenneth at webkit.org, johnme at chromium.org,
                    aelias at chromium.org
        Depends on: 93862
            Blocks: 84186


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list