[Webkit-unassigned] [Bug 21092] Specifying DOCTYPE messes up rendering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 29 10:08:02 PST 2010


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


sachin Puranik <sachin.puranik at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sachin.puranik at gmail.com




--- Comment #1 from sachin Puranik <sachin.puranik at gmail.com>  2010-01-29 10:08:02 PST ---
Below are my findings for this bug.

After DOCTYPE parsing stack flows to void HTMLDocument::determineParseMode().
This decides the parse mode of the document and passes the same to the Style
objects which eventually decides the look and feel of the Object.

While in HTMLDocument::determineParseMode().  does not find the entry for the
given doctype using function 
     findDoctypeEntry(pubIDStr.data(), pubIDStr.length());

So the document parse mode is set as "setParseMode(AlmostStrict);" This inturn
affects the style object and changes the output.

Not sure if this is the real bug or expected behavior. Can somebody please
guide. if this is a valid bug i can try to fix.

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