[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
Mon May 5 00:36:28 PDT 2008


------- Comment #12 from shadow2531 at gmail.com  2008-05-05 00:36 PDT -------
Created an attachment (id=20968)
 --> (http://bugs.webkit.org/attachment.cgi?id=20968&action=view)
Example patch

(In reply to comment #11)
> Yes, it would need to be called after the value is set (but there is no need to
> check that v is not empty then - createTextChild() does that internally).

Oops, thanks. So, the attached changes would be O.K.?

They make the 2 TCs pass and make
<http://shadow2531.com/opera/testcases/attr/suite0.html> score 100% (in the
Midori browser). (Not sure how to build the jscore tests etc. on linux, so I
didn't do any of that.)

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