[Webkit-unassigned] [Bug 85425] Use suitable viewport values when a Mobile DTD is used.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 23:22:57 PDT 2012


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





--- Comment #4 from Zalan Bujtas <zbujtas at gmail.com>  2012-05-02 23:22:56 PST ---
(From update of attachment 139892)
View in context: https://bugs.webkit.org/attachment.cgi?id=139892&action=review

> Source/WebCore/html/parser/HTMLConstructionSite.cpp:245
> +        m_document->useMobileViewportValues();

If you are trying to fake <meta name = "viewport" content = "width=device-width, user-scalable=no, target-densityDpi=device-dpi">, 
I'd just do m_document->processViewport("width=device-width, user-scalable=no, target-densityDpi=device-dpi") and then it'll go through the normal viewport processing logic.

-- 
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