[Webkit-unassigned] [Bug 26151] Value of element.innerHTML incorrect when using XML style close tags.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 2 17:30:42 PDT 2009


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


mrowe at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrowe at apple.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from mrowe at apple.com  2009-06-02 17:30 PDT -------
HTML doesn't have a concept of a self-closing tag, so "foo" in your example is
never closed and therefore "bar" is a child of "foo".  See
<http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cdiv%20id%3D%22foo%22%2F%3E%0A%3Cdiv%20id%3D%22bar%22%3E%3C%2Fdiv%3E>
for a visual representation of the DOM that your HTML snippet produces.  This
should make it clear that WebKit's behavior is correct.


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