[Webkit-unassigned] [Bug 148851] New: script.text shouldn't include text from non-direct children of the script element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 4 16:49:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148851
Bug ID: 148851
Summary: script.text shouldn't include text from non-direct
children of the script element
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rniwa at webkit.org
CC: cdumez at apple.com, webkit-bug-importer at group.apple.com
See https://html.spec.whatwg.org/multipage/scripting.html#dom-script-text
HTMLScriptElement.prototype.text must return the concatenation of the data of Text nodes that are its direct children,
and must not include texts of other node types or non-direct child Text nodes.
This bug was found by the newly added test:
LayoutTests/http/tests/w3c/html/semantics/scripting-1/the-script-element/script-text.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150904/3520859c/attachment.html>
More information about the webkit-unassigned
mailing list