[Webkit-unassigned] [Bug 7321] REGRESSION: style tag in body causes two head elements to appear in the DOM
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sat Feb 18 17:40:03 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7321
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |EasyFix
------- Comment #2 from darin at apple.com 2006-02-18 17:40 PDT -------
The bug is in HTMLParser::headCreateErrorCheck. That function should always
return false, and when it decides to create a head element it needs to store a
pointer to it in "head".
See formCreateErrorCheck and mapCreateErrorCheck for similar logic. The only
part I'm not entirely sure about is the "current->localName() == htmlTag"
clause. That means that you're allowed to create a second head if you're inside
an <html> element; would be good to test that to see if it's the behavior we
want.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list