[whatwg/dom] CDATASection misses (#300)

We missed a few things in https://github.com/whatwg/dom/pull/295, at least:

1. `appendChild(cdata)` should not throw, but does in https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
1. `nodeName` should be `#cdata-section`
1. `normalize()` shouldn't actually touch CDATASection nodes, per my ad-hoc testing in Chrome and Firefox

There are also some places in the spec that say "switching on" that aren't wrong as such, but it could be made clearer so that nobody thinks it's possible to actually implement using a `switch(node.nodeType)`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/300

Received on Wednesday, 17 August 2016 05:13:24 UTC