It is supported for XML documents. For HTML documents the DOM Core spec requires this exception ( http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-D26C0AF8 ): createCDATASection (...) Exceptions DOMException NOT_SUPPORTED_ERR: Raised if this document is an HTML document.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 96341
You need to log in before you can comment on or make changes to this bug.