Bug 7532 - document.all behavior doesn't match WinIE
: document.all behavior doesn't match WinIE
Status: NEW
Product: WebKit
Classification: Unclassified
Component: HTML DOM
: 420+
: Macintosh Mac OS X 10.4
: P2 Normal
Assigned To: Nobody
: HasReduction
Depends on: 18200 25498 8024
  Show dependency treegraph
Reported: 2006-02-28 23:30 PST by Geoffrey Garen
Modified: 2009-05-01 04:17 PDT (History)
3 users (show)

See Also:

test suite (3.34 KB, application/octet-stream)
2006-02-28 23:31 PST, Geoffrey Garen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.