[Webkit-unassigned] [Bug 22441] Bridge the gap between the generated ElementFactory and HTMLElementFactory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 25 15:53:24 PST 2008


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25506|review?                     |review+
               Flag|                            |




------- Comment #14 from eric at webkit.org  2008-11-25 15:53 PDT -------
(From update of attachment 25506)
It's possible with this change to actually fix bugs in our XHTML handling, but
you seem to have chosen not to. :)  I think it's find to land as-is, but you
should plan to fix (and test) the real bug with a later change.

The bug:
<foo:html xmlns:foo="http://www.w3c.org/1999/xhtml">

<script>
alert(document.getElementsByTagName("html")[0].prefix)

you get "null", when it should be "foo"

It's probably also possible to repro the bug with:
document.createElementNS("foo:html", "http://www.w3c.org/1999/xhtml")
That would need to be done on an XHTML doc, as I expect that HTML docs ignore
prefixes.

There may already even be a test case testing this.

I look forward to seeing the rest of the patches.


-- 
Configure bugmail: https://bugs.webkit.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