This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
Thanks for the bug report, Svitlana. I uploaded a test: <http://dvcs.w3.org/hg/webapps/rev/f5262db28508>.
https://github.com/whatwg/dom/commit/a6b9ed1c84dfc87de58b55b06cb3f40244d682ca http://dom.spec.whatwg.org/#dom-node-normalize svitlant, is your name in the Acknowledgments section already? (I'm not aware of your name or have forgotten.) If not, could you please give me either your name or preferred nick for that section? And thanks for this report, much appreciated!
https://github.com/whatwg/dom/commit/adf9c2553d1fb2034a29c658a93ba9bc6c8bf52f
Closing this as it was fixed. svitlant, your desired name for the acknowledgments would still be appreciated!