[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:17:56 PDT 2012


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





--- Comment #71 from Csaba Osztrogonac <ossy at webkit.org>  2012-05-10 00:16:58 PST ---
(From update of attachment 141017)
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

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