- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 23 Aug 2016 02:24:30 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Tuesday, 23 August 2016 09:24:59 UTC
One relevant difference between CDATASection and ShadowRoot is that CDATASection has its own nodeType. So switching on nodeType actually works for ShadowRoot, but not for CDATASection. Since we'll presumably never add a new nodeType, actually spelling out whether CDATASection is included anywhere that Text is mentioned would remove the risk of confusion. -- 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/pull/301#issuecomment-241675750
Received on Tuesday, 23 August 2016 09:24:59 UTC