This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
A fuzzer script generated this strange document: <a><svg><tr><input></a> Both webkit and mozilla produce this tree: | <html> | <head> | <body> | <a> | <svg svg> | <svg tr> | <a> | <svg input> | <a> It isn't clear to me what the correct behavior is here, but this can't be right. I haven't spent much time debugging, but since the two implementations agree, that seems to point to a spec bug.
Ian wants all implementor bugs marked p1 critical, btw.
WebKit's behaviour here is completely bogus. In fact it's worse that you describe — I find the <input> element in two places in the tree! I can't see how the tree in the bug description could possibly be generated from the spec. It's not what I get in Firefox, validator.nu, or html5lib. EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Rejected Change Description: no spec change Rationale: Does not seem to be a spec bug
It appears that Hixie is right, at least for this test case: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Ca%3E%3Csvg%3E%3Ctr%3E%3Cinput%3E%3C/a%3E Does not show the bogus dom for Mozilla, but does in Chromium Dev channel.
I believe WebKit's bug here is that we don't check the namespace of <tr> or <input> during the run of the Adoption Agency. As far as I can tell, the AAA is supposed to run for this code. :)
https://bugs.webkit.org/show_bug.cgi?id=44390 tracks fixing WebKit's bug.