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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 3 10:19:07 PDT 2012


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





--- Comment #12 from Hugo Parente Lima <hugo.lima at openbossa.org>  2012-05-03 10:19:06 PST ---
(In reply to comment #4)
> (From update of attachment 139892 [details])
> 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.

Seems feasible not changing the WebCore::Document API despite of being a bit slower, but I doubt the difference would be notifiable.

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