[Bug 19837] New: DomNode::normalize handling of text nodes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19837

          Priority: P2
            Bug ID: 19837
                CC: mike@w3.org, www-dom@w3.org
          Assignee: annevk@annevk.nl
           Summary: DomNode::normalize handling of text nodes
        QA Contact: public-webapps-bugzilla@w3.org
          Severity: normal
    Classification: Unclassified
                OS: Windows NT
          Reporter: svitlant@microsoft.com
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: DOM
           Product: WebAppsWG

Hello,

In the previous version of the specification
(http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-normalize)
DomNode::normalize is explicitly said to remove empty text nodes. There is no
mention of how the empty nodes need to be handled in the new specification
(http://dom.spec.whatwg.org/#dom-node-normalize).

In particular, I would really appreciate for a note on how the following
situation should be handled: an empty text node (text1) followed by a non-empty
text node (text2). According to the new specification, the content will be
concatenated in text1. However, this does not correspond to the behavior of
major browsers: major browsers detach text1 and leave text2 unchanged.

Thanks,
Svitlana

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Saturday, 3 November 2012 01:35:15 UTC