[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 10 00:42:26 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85425
--- Comment #76 from Csaba Osztrogonac <ossy at webkit.org> 2012-05-10 00:41:27 PST ---
(In reply to comment #71)
> (From update of attachment 141017 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=141017&action=review
>
> > Source/WebCore/dom/Document.cpp:781
> > +#if USE(LEGACY_VIEWPORT_ADAPTION)
> > + ASSERT(m_viewportArgument.type == Implicit);
> > + if (m_docType->publicId().startsWith("-//wapforum//dtd xhtml mobile 1.", /* caseSensitive */ false))
> > + processViewport("width=device-width, height=device-height, initial-scale=1");
> > +#endif
> > + }
>
> Reopen, because it broke Qt debug builds:
> ../../../../Source/WebCore/dom/Document.cpp: In member function 'void WebCore::Document::setDocType(WTF::PassRefPtr<WebCore::DocumentType>)':
> ../../../../Source/WebCore/dom/Document.cpp:777: error: 'm_viewportArgument' was not declared in this scope
> ../../../../Source/WebCore/dom/Document.cpp:777: error: 'Implicit' was not declared in this scope
Fix landed in http://trac.webkit.org/changeset/116616
--
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