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 for the bug report, Svitlana. I uploaded a test: <http://dvcs.w3.org/hg/webapps/rev/f5262db28508>.
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!
Closing this as it was fixed. svitlant, your desired name for the acknowledgments would still be appreciated!