[Webkit-unassigned] [Bug 16923] Attr nodes with a value of "" should not have any childNodes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 18 23:49:03 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16923





------- Comment #3 from shadow2531 at gmail.com  2008-01-18 23:49 PDT -------
(In reply to comment #2)
> Does this affect any real life sites?

Not sure. However, when checking out Test 10 of Acid3 (and doing some TCs that
are not in there), I realized that webkit has this problem.

> While we probably want to match other browsers, it seems weird that an empty
> (not null) attribute is special.

Element.textContent = "" removes all nodes from the element.
Attr.textContent = "" removes all nodes from the Attr (in Safari also).

It probably makes sense for Attr.value = "" to be consistent and do the same as
Attr.textContent = "".


-- 
Configure bugmail: http://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