- From: <bugzilla@jessica.w3.org>
- Date: Tue, 01 Jul 2014 15:01:23 +0000
- To: www-dom@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26248 Bug ID: 26248 Summary: Spec mismatch between createHTMLDocument and textContent Product: WebAppsWG Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: DOM Assignee: annevk@annevk.nl Reporter: kangil.han@samsung.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, www-dom@w3.org DOMImplementation.createHTMLDocument(title)[1] describes like, 'Create a Text node, set its data to title (which could be the empty string), and append it to the title element created in the previous step.' While textContent attribute[2] says, 'If new value is not the empty string, set node to a new Text node whose data is new value.' So it is confusing how to handle empty title DOMString on implementation. [1] http://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument [2] http://dom.spec.whatwg.org/#dom-node-textcontent test case: http://w3c-test.org/dom/nodes/DOMImplementation-createHTMLDocument.html test name: DOMImplementation.createHTMLDocument -- You are receiving this mail because: You are on the CC list for the bug.
Received on Tuesday, 1 July 2014 15:01:27 UTC