[Webkit-unassigned] [Bug 148862] New: HTMLOptionElement.text should never return the value of label
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 4 18:10:51 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148862
Bug ID: 148862
Summary: HTMLOptionElement.text should never return the value
of label
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/forms.html#dom-option-text
The text IDL attribute, on getting, must return the result of stripping and collapsing whitespace from the concatenation of data of all the Text node descendants of the option element, in tree order, excluding any that are descendants of descendants of the option element that are themselves script elements in the HTML namespace or script elements in the SVG namespace.
This bug was found by the newly added test:
LayoutTests/http/tests/w3c/html/semantics/forms/the-option-element/option-text-label.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/20150905/ddce9824/attachment.html>
More information about the webkit-unassigned
mailing list