[Webkit-unassigned] [Bug 16656] New: Acid3 excpects form.elements.length == form.elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 28 21:57:39 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16656
Summary: Acid3 excpects form.elements.length == form.elements
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
// test 56: <form> and .elements
var ok = false;
test = document.getElementsByTagName('form')[0];
if (// test.elements === test || // (IE would fail this, but HTML5 might
require it)
test.elements === test.getAttribute('elements') ||
test.elements.length != 1 ||
test.elements.length != test.elements)
ok = false;
if (ok)
return 4;
The only part of that test that we fail is "form.elements.length ==
form.elements"
I'm not sure why that would be expected. I guess HTMLCollection is supposed to
have a special toNumber implementation which returns the number of elements in
the collection!?
It would be nice to see a spec to back up that claim.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list