[Bug 26248] Spec mismatch between createHTMLDocument and textContent

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

Olli Pettay <bugs@pettay.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@pettay.fi

--- Comment #2 from Olli Pettay <bugs@pettay.fi> ---
What is exactly confusing? 
textnode.data = ""; sets text node's content to "".
element.textContent = ""; removes all the child nodes.
element.textContent = "foo"; removes all the child nodes and 
creates a text node with data "foo" and appends it to element.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 1 July 2014 15:17:42 UTC