HTMLTitleElement.text should only account for direct children Text nodes: - https://html.spec.whatwg.org/multipage/semantics.html#dom-title-text - https://html.spec.whatwg.org/multipage/infrastructure.html#child-text-content Firefox and Chrome match the specification. However, WebKit does accounts for all Text nodes that are descendants. Test case: http://w3c-test.org/html/semantics/document-metadata/the-title-element/title.text-01.html
Created attachment 283087 [details] Patch
Comment on attachment 283087 [details] Patch Clearing flags on attachment: 283087 Committed r202951: <http://trac.webkit.org/changeset/202951>
All reviewed patches have been landed. Closing bug.