[Webkit-unassigned] [Bug 148871] New: form.elements should include elements whose name starts with a number
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 4 19:24:00 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148871
Bug ID: 148871
Summary: form.elements should include elements whose name
starts with a number
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rniwa at webkit.org
CC: benjamin at webkit.org, cdumez at apple.com,
ggaren at apple.com, webkit-bug-importer at group.apple.com
When an input element has a name which is an number, it should still be accessible via form.elements.
e.g. <input name="2"></input> should be accessible via form.elements[2].
See
https://html.spec.whatwg.org/multipage/forms.html#dom-form-elements
https://html.spec.whatwg.org/multipage/infrastructure.html#htmlformcontrolscollection
This bug was found by the newly added test:
LayoutTests/http/tests/w3c/html/semantics/forms/the-form-element/form-elements-matches.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/22012f16/attachment.html>
More information about the webkit-unassigned
mailing list