[Webkit-unassigned] [Bug 25822] New: DOM normalize does not remove empty text node between element nodes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 15 07:52:25 PDT 2009


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

           Summary: DOM normalize does not remove empty text node between
                    element nodes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kai at granus.net


The DOM node normalize() function does not remove empty text nodes which are
not adjacent to other text nodes nor the only child node.
That is, empty text nodes between element nodes or at the start or end of the
child list are not removed.
This is clearly in contradiction to the DOM level 2 core specification.
Note also that it works in FireFox (tested with 3.0.10).
A test case is attached, a patch forthcoming.


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