Bug 7532

Summary: document.all behavior doesn't match WinIE
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: andersca, annevk, ap, ian
Priority: P2 Keywords: HasReduction
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 8024, 18200, 25498    
Bug Blocks:    
Attachments:
Description Flags
test suite none

Description Geoffrey Garen 2006-02-28 23:30:42 PST
The attached test suite demonstrates the differences and includes WinIE's results. Load document-all.html.

Some things we need to change:
- WinIE has specific rules for invalid and implicit html tags / elements. We need to match these so that indexing into document.all matches up.
- document.all.name seems broken for input elements.
- in safari, all seems to be defined only on the document, not other elements.
- all seems to fail when multiple matches are possible -- it should return all matches in a collection instead
Comment 1 Geoffrey Garen 2006-02-28 23:31:17 PST
Created attachment 6787 [details]
test suite
Comment 2 Geoffrey Garen 2006-05-24 13:45:49 PDT
Bug 8024 covers the "input elements" issue
Comment 3 Alexey Proskuryakov 2008-04-01 00:22:49 PDT
Bug 18200 covers multiple matches.
Comment 4 Anne van Kesteren 2023-08-23 07:27:59 PDT
This is no longer a goal given these test results: https://wpt.fyi/results/html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html.