RESOLVED FIXED 153374
DOMImplementation.createHTMLDocument("") should append an empty Text Node to the title Element
https://bugs.webkit.org/show_bug.cgi?id=153374
Summary DOMImplementation.createHTMLDocument("") should append an empty Text Node to ...
Chris Dumez
Reported 2016-01-22 14:25:29 PST
DOMImplementation.createHTMLDocument("") should append an empty Text Node to the title Element as per the steps at: https://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument (step 6) Firefox and Chrome follow the specification here. Currently, WebKit relies on HTMLTitleElement.text setter which does not create a Text Node if the title is the empty string, as per: https://html.spec.whatwg.org/multipage/semantics.html#dom-title-text https://dom.spec.whatwg.org/#dom-node-textcontent
Attachments
Patch (6.19 KB, patch)
2016-01-22 14:33 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-01-22 14:33:47 PST
WebKit Commit Bot
Comment 2 2016-01-22 15:43:24 PST
Comment on attachment 269609 [details] Patch Clearing flags on attachment: 269609 Committed r195491: <http://trac.webkit.org/changeset/195491>
WebKit Commit Bot
Comment 3 2016-01-22 15:43:28 PST
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 4 2016-09-27 09:07:37 PDT
*** Bug 139177 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.