OLD | NEW |
1 This test covers the various ways of accessing DOM elements through the document
object by name, id or index, directly as properties of the document object. Thi
s lookup is supposed to include applet, embed, form, image, object and iframe by
name, but only applet and object by id. It should give the element itself in th
e case of a single match, or an HTMLCollection in the case of multiple matches;
except that when exactly one item that is an iframe matches, it will give the wi
ndow object for that iframe. | 1 This test covers the various ways of accessing DOM elements through the document
object by name, id or index, directly as properties of the document object. Thi
s lookup is supposed to include applet, embed, form, image, object and iframe by
name, but only applet and object by id. It should give the element itself in th
e case of a single match, or an HTMLCollection in the case of multiple matches;
except that when exactly one item that is an iframe matches, it will give the wi
ndow object for that iframe. |
2 | 2 |
3 Our results match IE. | 3 Our results match IE. |
4 | 4 |
5 Results: | 5 Results: |
6 | 6 |
7 Nonexistent image name: undefined | 7 Nonexistent image name: undefined |
8 Image by name (unique): single IMG(name) | 8 Image by name (unique): single IMG(name) |
9 Image by name (multiple): collection(2) IMG(name) IMG(name) | 9 Image by name (multiple): collection(2) IMG(name) IMG(name) |
10 Image by id (unique): undefined | 10 Image by id (unique): undefined |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 Mixed by name: collection(6) IMG(name) FORM(name) APPLET(name) EMBED(name) OBJEC
T(name) IFRAME(name) | 66 Mixed by name: collection(6) IMG(name) FORM(name) APPLET(name) EMBED(name) OBJEC
T(name) IFRAME(name) |
67 Mixed by id (no iframe): collection(2) APPLET(id) OBJECT(id) | 67 Mixed by id (no iframe): collection(2) APPLET(id) OBJECT(id) |
68 Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED
(name) OBJECT(name) | 68 Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED
(name) OBJECT(name) |
69 | 69 |
70 Numeric 0: undefined | 70 Numeric 0: undefined |
71 Numeric 12: undefined | 71 Numeric 12: undefined |
72 Numeric 13: undefined | 72 Numeric 13: undefined |
73 | 73 |
74 Conflicting image: single IMG(name) | 74 Conflicting image: single IMG(name) |
75 Conflicting image (custom property): single IMG(name) | 75 Conflicting image (custom property): single IMG(name) |
76 Conflicting iframe: single WINDOW | 76 Conflicting iframe: single OTHER |
77 | 77 |
OLD | NEW |