cd9c9e09dad840e4d92b548e66741d56a7bef5e5
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / boolean-attribute-reflection-expected.txt
1 Test reflecting boolean attributes.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS e = make('area'); e.removeAttribute('nohref'); e.noHref is false
7 PASS e = make('area'); e.setAttribute('nohref', ''); e.noHref is true
8 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = false; e.getAttribute('nohref') is null
9 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = true; e.getAttribute('nohref') is ''
10 PASS e = make('dir'); e.removeAttribute('compact'); e.compact is false
11 PASS e = make('dir'); e.setAttribute('compact', ''); e.compact is true
12 PASS e = make('dir'); e.setAttribute('compact', 'x'); e.compact = false; e.getAttribute('compact') is null
13 PASS e = make('dir'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttribute('compact') is ''
14 PASS e = make('dl'); e.removeAttribute('compact'); e.compact is false
15 PASS e = make('dl'); e.setAttribute('compact', ''); e.compact is true
16 PASS e = make('dl'); e.setAttribute('compact', 'x'); e.compact = false; e.getAttribute('compact') is null
17 PASS e = make('dl'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttribute('compact') is ''
18 PASS e = make('form'); e.removeAttribute('novalidate'); e.noValidate is false
19 PASS e = make('form'); e.setAttribute('novalidate', ''); e.noValidate is true
20 PASS e = make('form'); e.setAttribute('novalidate', 'x'); e.noValidate = false; e.getAttribute('novalidate') is null
21 PASS e = make('form'); e.setAttribute('novalidate', 'x'); e.noValidate = true; e.getAttribute('novalidate') is ''
22 PASS e = make('frame'); e.removeAttribute('noresize'); e.noResize is false
23 PASS e = make('frame'); e.setAttribute('noresize', ''); e.noResize is true
24 PASS e = make('frame'); e.setAttribute('noresize', 'x'); e.noResize = false; e.getAttribute('noresize') is null
25 PASS e = make('frame'); e.setAttribute('noresize', 'x'); e.noResize = true; e.getAttribute('noresize') is ''
26 PASS e = make('hr'); e.removeAttribute('noshade'); e.noShade is false
27 PASS e = make('hr'); e.setAttribute('noshade', ''); e.noShade is true
28 PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = false; e.getAttribute('noshade') is null
29 PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = true; e.getAttribute('noshade') is ''
30 PASS e = make('iframe'); e.removeAttribute('allowfullscreen'); e.allowFullscreen is false
31 PASS e = make('iframe'); e.setAttribute('allowfullscreen', ''); e.allowFullscreen is true
32 PASS e = make('iframe'); e.setAttribute('allowfullscreen', 'x'); e.allowFullscreen = false; e.getAttribute('allowfullscreen') is null
33 PASS e = make('iframe'); e.setAttribute('allowfullscreen', 'x'); e.allowFullscreen = true; e.getAttribute('allowfullscreen') is ''
34 PASS e = make('img'); e.removeAttribute('ismap'); e.isMap is false
35 PASS e = make('img'); e.setAttribute('ismap', ''); e.isMap is true
36 PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = false; e.getAttribute('ismap') is null
37 PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = true; e.getAttribute('ismap') is ''
38 PASS e = make('input'); e.removeAttribute('autofocus'); e.autofocus is false
39 PASS e = make('input'); e.setAttribute('autofocus', ''); e.autofocus is true
40 PASS e = make('input'); e.setAttribute('autofocus', 'x'); e.autofocus = false; e.getAttribute('autofocus') is null
41 PASS e = make('input'); e.setAttribute('autofocus', 'x'); e.autofocus = true; e.getAttribute('autofocus') is ''
42 PASS e = make('input'); e.removeAttribute('checked'); e.defaultChecked is false
43 PASS e = make('input'); e.setAttribute('checked', ''); e.defaultChecked is true
44 PASS e = make('input'); e.setAttribute('checked', 'x'); e.defaultChecked = false; e.getAttribute('checked') is null
45 PASS e = make('input'); e.setAttribute('checked', 'x'); e.defaultChecked = true; e.getAttribute('checked') is ''
46 PASS e = make('input'); e.removeAttribute('disabled'); e.disabled is false
47 PASS e = make('input'); e.setAttribute('disabled', ''); e.disabled is true
48 PASS e = make('input'); e.setAttribute('disabled', 'x'); e.disabled = false; e.getAttribute('disabled') is null
49 PASS e = make('input'); e.setAttribute('disabled', 'x'); e.disabled = true; e.getAttribute('disabled') is ''
50 PASS e = make('input'); e.removeAttribute('formnovalidate'); e.formNoValidate is false
51 PASS e = make('input'); e.setAttribute('formnovalidate', ''); e.formNoValidate is true
52 PASS e = make('input'); e.setAttribute('formnovalidate', 'x'); e.formNoValidate = false; e.getAttribute('formnovalidate') is null
53 PASS e = make('input'); e.setAttribute('formnovalidate', 'x'); e.formNoValidate = true; e.getAttribute('formnovalidate') is ''
54 PASS e = make('input'); e.removeAttribute('multiple'); e.multiple is false
55 PASS e = make('input'); e.setAttribute('multiple', ''); e.multiple is true
56 PASS e = make('input'); e.setAttribute('multiple', 'x'); e.multiple = false; e.getAttribute('multiple') is null
57 PASS e = make('input'); e.setAttribute('multiple', 'x'); e.multiple = true; e.getAttribute('multiple') is ''
58 PASS e = make('input'); e.removeAttribute('readonly'); e.readOnly is false
59 PASS e = make('input'); e.setAttribute('readonly', ''); e.readOnly is true
60 PASS e = make('input'); e.setAttribute('readonly', 'x'); e.readOnly = false; e.getAttribute('readonly') is null
61 PASS e = make('input'); e.setAttribute('readonly', 'x'); e.readOnly = true; e.getAttribute('readonly') is ''
62 PASS e = make('input'); e.removeAttribute('required'); e.required is false
63 PASS e = make('input'); e.setAttribute('required', ''); e.required is true
64 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = false; e.getAttribute('required') is null
65 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = true; e.getAttribute('required') is ''
66 PASS e = make('link'); e.removeAttribute('disabled'); e.disabled is false
67 PASS e = make('link'); e.setAttribute('disabled', ''); e.disabled is true
68 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = false; e.getAttribute('disabled') is null
69 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = true; e.getAttribute('disabled') is ''
70 PASS e = make('menu'); e.removeAttribute('compact'); e.compact is false
71 PASS e = make('menu'); e.setAttribute('compact', ''); e.compact is true
72 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = false; e.getAttribute('compact') is null
73 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttribute('compact') is ''
74 PASS e = make('menuitem'); e.removeAttribute('checked'); e.checked is false
75 PASS e = make('menuitem'); e.setAttribute('checked', ''); e.checked is true
76 PASS e = make('menuitem'); e.setAttribute('checked', 'x'); e.checked = false; e.getAttribute('checked') is null
77 PASS e = make('menuitem'); e.setAttribute('checked', 'x'); e.checked = true; e.getAttribute('checked') is ''
78 PASS e = make('menuitem'); e.removeAttribute('default'); e.default is false
79 PASS e = make('menuitem'); e.setAttribute('default', ''); e.default is true
80 PASS e = make('menuitem'); e.setAttribute('default', 'x'); e.default = false; e.getAttribute('default') is null
81 PASS e = make('menuitem'); e.setAttribute('default', 'x'); e.default = true; e.getAttribute('default') is ''
82 PASS e = make('menuitem'); e.removeAttribute('disabled'); e.disabled is false
83 PASS e = make('menuitem'); e.setAttribute('disabled', ''); e.disabled is true
84 PASS e = make('menuitem'); e.setAttribute('disabled', 'x'); e.disabled = false; e.getAttribute('disabled') is null
85 PASS e = make('menuitem'); e.setAttribute('disabled', 'x'); e.disabled = true; e.getAttribute('disabled') is ''
86 PASS e = make('object'); e.removeAttribute('declare'); e.declare is false
87 PASS e = make('object'); e.setAttribute('declare', ''); e.declare is true
88 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = false; e.getAttribute('declare') is null
89 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = true; e.getAttribute('declare') is ''
90 PASS e = make('ol'); e.removeAttribute('compact'); e.compact is false
91 PASS e = make('ol'); e.setAttribute('compact', ''); e.compact is true
92 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = false; e.getAttribute('compact') is null
93 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttribute('compact') is ''
94 PASS e = make('option'); e.removeAttribute('selected'); e.defaultSelected is false
95 PASS e = make('option'); e.setAttribute('selected', ''); e.defaultSelected is true
96 PASS e = make('option'); e.setAttribute('selected', 'x'); e.defaultSelected = false; e.getAttribute('selected') is null
97 PASS e = make('option'); e.setAttribute('selected', 'x'); e.defaultSelected = true; e.getAttribute('selected') is ''
98 PASS e = make('script'); e.removeAttribute('defer'); e.defer is false
99 PASS e = make('script'); e.setAttribute('defer', ''); e.defer is true
100 PASS e = make('script'); e.setAttribute('defer', 'x'); e.defer = false; e.getAttribute('defer') is null
101 PASS e = make('script'); e.setAttribute('defer', 'x'); e.defer = true; e.getAttribute('defer') is ''
102 PASS e = make('select'); e.removeAttribute('multiple'); e.multiple is false
103 PASS e = make('select'); e.setAttribute('multiple', ''); e.multiple is true
104 PASS e = make('select'); e.setAttribute('multiple', 'x'); e.multiple = false; e.getAttribute('multiple') is null
105 PASS e = make('select'); e.setAttribute('multiple', 'x'); e.multiple = true; e.getAttribute('multiple') is ''
106 PASS e = make('td'); e.removeAttribute('nowrap'); e.noWrap is false
107 PASS e = make('td'); e.setAttribute('nowrap', ''); e.noWrap is true
108 PASS e = make('td'); e.setAttribute('nowrap', 'x'); e.noWrap = false; e.getAttribute('nowrap') is null
109 PASS e = make('td'); e.setAttribute('nowrap', 'x'); e.noWrap = true; e.getAttribute('nowrap') is ''
110 PASS e = make('ul'); e.removeAttribute('compact'); e.compact is false
111 PASS e = make('ul'); e.setAttribute('compact', ''); e.compact is true
112 PASS e = make('ul'); e.setAttribute('compact', 'x'); e.compact = false; e.getAttribute('compact') is null
113 PASS e = make('ul'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttribute('compact') is ''
114 PASS e = make('video'); e.removeAttribute('autoplay'); e.autoplay is false
115 PASS e = make('video'); e.setAttribute('autoplay', ''); e.autoplay is true
116 PASS e = make('video'); e.setAttribute('autoplay', 'x'); e.autoplay = false; e.getAttribute('autoplay') is null
117 PASS e = make('video'); e.setAttribute('autoplay', 'x'); e.autoplay = true; e.getAttribute('autoplay') is ''
118 PASS e = make('video'); e.removeAttribute('controls'); e.controls is false
119 PASS e = make('video'); e.setAttribute('controls', ''); e.controls is true
120 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = false; e.getAttribute('controls') is null
121 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = true; e.getAttribute('controls') is ''
122 PASS e = make('video'); e.removeAttribute('loop'); e.loop is false
123 PASS e = make('video'); e.setAttribute('loop', ''); e.loop is true
124 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = false; e.getAttribute('loop') is null
125 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = true; e.getAttribute('loop') is ''
126 PASS successfullyParsed is true
127
128 TEST COMPLETE
129