[Webkit-unassigned] [Bug 7413] REGRESSION: [DOMRange markupString] produces invalid XML (opening tags are self-closing)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Feb 22 22:40:22 PST 2006


------- Comment #3 from darin at apple.com  2006-02-22 22:40 PDT -------
Here's how it's supposed to work: the function shouldSelfClose in markup.cpp
should return false for the <title> element. It's not an HTML <title> element,
so htmlForbidsEndTag and isHTMLElement should be false. It's not an HTML
document, so isHTMLDocument should be false. It does have a child node, so
hasChildNodes should be true. So it should fall through to the end of the
function and return false. And because of that, there should be no "/>" at the
end of the tag.

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