OLD | NEW |
1 Reflected DOMString attribute test for button/@name | 1 Reflected DOMString attribute test for button/@name |
2 Initial value: | 2 Initial value: |
3 PASS element.name is "" | 3 PASS element.name is "" |
4 PASS element.getAttribute("name") is null | 4 PASS element.getAttribute("name") is null |
5 Setting a value via the IDL attribute: | 5 Setting a value via the IDL attribute: |
6 PASS element.name = "foo"; element.name is "foo" | 6 PASS element.name = "foo"; element.name is "foo" |
7 PASS element.getAttribute("name") is "foo" | 7 PASS element.getAttribute("name") is "foo" |
8 Setting a value via the content attribute: | 8 Setting a value via the content attribute: |
9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" | 9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" |
10 PASS element.getAttribute("name") is " bar\n" | 10 PASS element.getAttribute("name") is " bar\n" |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 PASS element.setAttribute("step", undefined); element.step is "undefined" | 141 PASS element.setAttribute("step", undefined); element.step is "undefined" |
142 PASS element.getAttribute("step") is "undefined" | 142 PASS element.getAttribute("step") is "undefined" |
143 Setting non-string via the IDL attribute: | 143 Setting non-string via the IDL attribute: |
144 PASS element.step = 123; element.step is "123" | 144 PASS element.step = 123; element.step is "123" |
145 PASS element.getAttribute("step") is "123" | 145 PASS element.getAttribute("step") is "123" |
146 Setting non-string via the content attribute: | 146 Setting non-string via the content attribute: |
147 PASS element.setAttribute("step", 456); element.step is "456" | 147 PASS element.setAttribute("step", 456); element.step is "456" |
148 PASS element.getAttribute("step") is "456" | 148 PASS element.getAttribute("step") is "456" |
149 | 149 |
150 | 150 |
151 Reflected DOMString attribute test for menu/@label | |
152 Initial value: | |
153 PASS element.label is "" | |
154 PASS element.getAttribute("label") is null | |
155 Setting a value via the IDL attribute: | |
156 PASS element.label = "foo"; element.label is "foo" | |
157 PASS element.getAttribute("label") is "foo" | |
158 Setting a value via the content attribute: | |
159 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n" | |
160 PASS element.getAttribute("label") is " bar\n" | |
161 Setting null via the IDL attribute: | |
162 PASS element.label = null; element.label is "null" | |
163 PASS element.getAttribute("label") is "null" | |
164 Setting null via the content attribute: | |
165 PASS element.setAttribute("label", null); element.label is "null" | |
166 PASS element.getAttribute("label") is "null" | |
167 Setting undefined via the IDL attribute: | |
168 PASS element.label = undefined; element.label is "undefined" | |
169 PASS element.getAttribute("label") is "undefined" | |
170 Setting undefined via the content attribute: | |
171 PASS element.setAttribute("label", undefined); element.label is "undefined" | |
172 PASS element.getAttribute("label") is "undefined" | |
173 Setting non-string via the IDL attribute: | |
174 PASS element.label = 123; element.label is "123" | |
175 PASS element.getAttribute("label") is "123" | |
176 Setting non-string via the content attribute: | |
177 PASS element.setAttribute("label", 456); element.label is "456" | |
178 PASS element.getAttribute("label") is "456" | |
179 | |
180 | |
181 Reflected DOMString attribute test for menuitem/@label | |
182 Initial value: | |
183 PASS element.label is "" | |
184 PASS element.getAttribute("label") is null | |
185 Setting a value via the IDL attribute: | |
186 PASS element.label = "foo"; element.label is "foo" | |
187 PASS element.getAttribute("label") is "foo" | |
188 Setting a value via the content attribute: | |
189 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n" | |
190 PASS element.getAttribute("label") is " bar\n" | |
191 Setting null via the IDL attribute: | |
192 PASS element.label = null; element.label is "null" | |
193 PASS element.getAttribute("label") is "null" | |
194 Setting null via the content attribute: | |
195 PASS element.setAttribute("label", null); element.label is "null" | |
196 PASS element.getAttribute("label") is "null" | |
197 Setting undefined via the IDL attribute: | |
198 PASS element.label = undefined; element.label is "undefined" | |
199 PASS element.getAttribute("label") is "undefined" | |
200 Setting undefined via the content attribute: | |
201 PASS element.setAttribute("label", undefined); element.label is "undefined" | |
202 PASS element.getAttribute("label") is "undefined" | |
203 Setting non-string via the IDL attribute: | |
204 PASS element.label = 123; element.label is "123" | |
205 PASS element.getAttribute("label") is "123" | |
206 Setting non-string via the content attribute: | |
207 PASS element.setAttribute("label", 456); element.label is "456" | |
208 PASS element.getAttribute("label") is "456" | |
209 | |
210 | |
211 Reflected DOMString attribute test for object/@name | 151 Reflected DOMString attribute test for object/@name |
212 Initial value: | 152 Initial value: |
213 PASS element.name is "" | 153 PASS element.name is "" |
214 PASS element.getAttribute("name") is null | 154 PASS element.getAttribute("name") is null |
215 Setting a value via the IDL attribute: | 155 Setting a value via the IDL attribute: |
216 PASS element.name = "foo"; element.name is "foo" | 156 PASS element.name = "foo"; element.name is "foo" |
217 PASS element.getAttribute("name") is "foo" | 157 PASS element.getAttribute("name") is "foo" |
218 Setting a value via the content attribute: | 158 Setting a value via the content attribute: |
219 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" | 159 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n" |
220 PASS element.getAttribute("name") is " bar\n" | 160 PASS element.getAttribute("name") is " bar\n" |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 PASS element.getAttribute("bgcolor") is "123" | 805 PASS element.getAttribute("bgcolor") is "123" |
866 Setting non-string via the content attribute: | 806 Setting non-string via the content attribute: |
867 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456" | 807 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456" |
868 PASS element.getAttribute("bgcolor") is "456" | 808 PASS element.getAttribute("bgcolor") is "456" |
869 | 809 |
870 | 810 |
871 PASS successfullyParsed is true | 811 PASS successfullyParsed is true |
872 | 812 |
873 TEST COMPLETE | 813 TEST COMPLETE |
874 | 814 |
OLD | NEW |