[Webkit-unassigned] [Bug 5264] document.createElementNS() should not allow to insert a second <html> element

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon May 15 13:37:07 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=5264


rwlbuis at xs4all.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #8310 is|0                           |1
           obsolete|                            |
   Attachment #8328|                            |review?
               Flag|                            |




------- Comment #5 from rwlbuis at xs4all.nl  2006-05-15 13:37 PDT -------
Created an attachment (id=8328)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=8328&action=view)
Different approach

Hi Darin,

I think it will be hard to merge some of the functions. For instance
HTMLElement::childAllowed
really seems to be useful only for parsing, not for dom usage. In the new patch
I move the two checks
from Document::childallowed to Document::childTypeAllowed. That means for
calling childAllowed
on Document it behaves as before, for Document::childTypeAllowed it adds the
two checks.
The changed test results are official dom cases that now pass, except
documentnormalizedocument10.xhtml, which also "fails" in firefox. I think that
test is broken though,
the others probably need updated test results.
Firefox behaves correctly, it throws the exception.
Win IE does not run the testcase, it says:

Line 3
Char 3
Error: Object doesn't support this property or method

Cheers,

Rob.


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