Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hopefully all the tests Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 embed, form, image, object and iframe by name, b ut only object by id. It should give the element itself in the case of a single match, or an HTMLCollection in the case of multiple matches; except that when ex actly one item that is an iframe matches, it will give the window object for tha t 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
11 Image by id (multiple): undefined 11 Image by id (multiple): undefined
12 Image by id/name mixed: collection(2) IMG(name) IMG(name) 12 Image by id/name mixed: collection(2) IMG(name) IMG(name)
13 Image by id, name present (unique): single IMG(id,name) 13 Image by id, name present (unique): single IMG(id,name)
14 Image by id, empty name present (unique): single IMG(id) 14 Image by id, empty name present (unique): single IMG(id)
15 Image by id, name present (multiple): collection(2) IMG(id,name) IMG(id,name) 15 Image by id, name present (multiple): collection(2) IMG(id,name) IMG(id,name)
16 Image by name, id present (unique): single IMG(id,name) 16 Image by name, id present (unique): single IMG(id,name)
17 17
18 Nonexistent form name: undefined 18 Nonexistent form name: undefined
19 Form by name (unique): single FORM(name) 19 Form by name (unique): single FORM(name)
20 Form by name (multiple): collection(2) FORM(name) FORM(name) 20 Form by name (multiple): collection(2) FORM(name) FORM(name)
21 Form by id (unique): undefined 21 Form by id (unique): undefined
22 Form by id (multiple): undefined 22 Form by id (multiple): undefined
23 Form by id/name mixed: collection(2) FORM(name) FORM(name) 23 Form by id/name mixed: collection(2) FORM(name) FORM(name)
24 24
25 Nonexistent applet name: undefined
26 Applet by name (unique): single APPLET(name)
27 Applet by name (multiple): collection(2) APPLET(name) APPLET(name)
28 Applet by id (unique): single APPLET(id)
29 Applet by id (multiple): collection(2) APPLET(id) APPLET(id)
30 Applet by id/name mixed: collection(4) APPLET(id) APPLET(name) APPLET(name) APPL ET(id)
31
32 Nonexistent object name: undefined 25 Nonexistent object name: undefined
33 Object by name (unique): single OBJECT(name) 26 Object by name (unique): single OBJECT(name)
34 Object by name (multiple): collection(2) OBJECT(name) OBJECT(name) 27 Object by name (multiple): collection(2) OBJECT(name) OBJECT(name)
35 Object by id (unique): single OBJECT(id) 28 Object by id (unique): single OBJECT(id)
36 Object by id (multiple): collection(2) OBJECT(id) OBJECT(id) 29 Object by id (multiple): collection(2) OBJECT(id) OBJECT(id)
37 Object by id/name mixed: collection(4) OBJECT(id) OBJECT(name) OBJECT(name) OBJE CT(id) 30 Object by id/name mixed: collection(4) OBJECT(id) OBJECT(name) OBJECT(name) OBJE CT(id)
38 Object by name nested in object with the same name: single OBJECT(name) 31 Object by name nested in object with the same name: single OBJECT(name)
39 Object by name nested in object with a different name: single OBJECT(name) 32 Object by name nested in object with a different name: single OBJECT(name)
40 33
41 Nonexistent embed name: undefined 34 Nonexistent embed name: undefined
(...skipping 13 matching lines...) Expand all
55 Iframe by id (multiple): undefined 48 Iframe by id (multiple): undefined
56 Iframe by id/name mixed: collection(2) IFRAME(name) IFRAME(name) 49 Iframe by id/name mixed: collection(2) IFRAME(name) IFRAME(name)
57 50
58 Nonexistent span name: undefined 51 Nonexistent span name: undefined
59 Span by name (unique): undefined 52 Span by name (unique): undefined
60 Span by name (multiple): undefined 53 Span by name (multiple): undefined
61 Span by id (unique): undefined 54 Span by id (unique): undefined
62 Span by id (multiple): undefined 55 Span by id (multiple): undefined
63 Span by id/name mixed: undefined 56 Span by id/name mixed: undefined
64 57
65 Mixed by id: collection(2) APPLET(id) OBJECT(id) 58 Mixed by id: single OBJECT(id)
66 Mixed by name: collection(6) IMG(name) FORM(name) APPLET(name) EMBED(name) OBJEC T(name) IFRAME(name) 59 Mixed by name: collection(5) IMG(name) FORM(name) EMBED(name) OBJECT(name) IFRAM E(name)
67 Mixed by id (no iframe): collection(2) APPLET(id) OBJECT(id) 60 Mixed by id (no iframe): single OBJECT(id)
68 Mixed by name (no iframe): collection(5) IMG(name) FORM(name) APPLET(name) EMBED (name) OBJECT(name) 61 Mixed by name (no iframe): collection(4) IMG(name) FORM(name) EMBED(name) OBJECT (name)
69 62
70 Numeric 0: undefined 63 Numeric 0: undefined
71 Numeric 12: undefined 64 Numeric 12: undefined
72 Numeric 13: undefined 65 Numeric 13: undefined
73 66
74 Conflicting image: single IMG(name) 67 Conflicting image: single IMG(name)
75 Conflicting image (custom property): single IMG(name) 68 Conflicting image (custom property): single IMG(name)
76 Conflicting iframe: single OTHER 69 Conflicting iframe: single OTHER
77 70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698