Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / domstring-attribute-reflection-expected.txt
1 Reflected DOMString attribute test for button/@name
2 Initial value:
3 PASS element.name is ""
4 PASS element.getAttribute("name") is null
5 Setting a value via the IDL attribute:
6 PASS element.name = "foo"; element.name is "foo"
7 PASS element.getAttribute("name") is "foo"
8 Setting a value via the content attribute:
9 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
10 PASS element.getAttribute("name") is " bar\n"
11 Setting null via the IDL attribute:
12 PASS element.name = null; element.name is "null"
13 PASS element.getAttribute("name") is "null"
14 Setting null via the content attribute:
15 PASS element.setAttribute("name", null); element.name is "null"
16 PASS element.getAttribute("name") is "null"
17 Setting undefined via the IDL attribute:
18 PASS element.name = undefined; element.name is "undefined"
19 PASS element.getAttribute("name") is "undefined"
20 Setting undefined via the content attribute:
21 PASS element.setAttribute("name", undefined); element.name is "undefined"
22 PASS element.getAttribute("name") is "undefined"
23 Setting non-string via the IDL attribute:
24 PASS element.name = 123; element.name is "123"
25 PASS element.getAttribute("name") is "123"
26 Setting non-string via the content attribute:
27 PASS element.setAttribute("name", 456); element.name is "456"
28 PASS element.getAttribute("name") is "456"
29
30
31 Reflected DOMString attribute test for fieldset/@name
32 Initial value:
33 PASS element.name is ""
34 PASS element.getAttribute("name") is null
35 Setting a value via the IDL attribute:
36 PASS element.name = "foo"; element.name is "foo"
37 PASS element.getAttribute("name") is "foo"
38 Setting a value via the content attribute:
39 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
40 PASS element.getAttribute("name") is " bar\n"
41 Setting null via the IDL attribute:
42 PASS element.name = null; element.name is "null"
43 PASS element.getAttribute("name") is "null"
44 Setting null via the content attribute:
45 PASS element.setAttribute("name", null); element.name is "null"
46 PASS element.getAttribute("name") is "null"
47 Setting undefined via the IDL attribute:
48 PASS element.name = undefined; element.name is "undefined"
49 PASS element.getAttribute("name") is "undefined"
50 Setting undefined via the content attribute:
51 PASS element.setAttribute("name", undefined); element.name is "undefined"
52 PASS element.getAttribute("name") is "undefined"
53 Setting non-string via the IDL attribute:
54 PASS element.name = 123; element.name is "123"
55 PASS element.getAttribute("name") is "123"
56 Setting non-string via the content attribute:
57 PASS element.setAttribute("name", 456); element.name is "456"
58 PASS element.getAttribute("name") is "456"
59
60
61 Reflected DOMString attribute test for form/@name
62 Initial value:
63 PASS element.name is ""
64 PASS element.getAttribute("name") is null
65 Setting a value via the IDL attribute:
66 PASS element.name = "foo"; element.name is "foo"
67 PASS element.getAttribute("name") is "foo"
68 Setting a value via the content attribute:
69 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
70 PASS element.getAttribute("name") is " bar\n"
71 Setting null via the IDL attribute:
72 PASS element.name = null; element.name is "null"
73 PASS element.getAttribute("name") is "null"
74 Setting null via the content attribute:
75 PASS element.setAttribute("name", null); element.name is "null"
76 PASS element.getAttribute("name") is "null"
77 Setting undefined via the IDL attribute:
78 PASS element.name = undefined; element.name is "undefined"
79 PASS element.getAttribute("name") is "undefined"
80 Setting undefined via the content attribute:
81 PASS element.setAttribute("name", undefined); element.name is "undefined"
82 PASS element.getAttribute("name") is "undefined"
83 Setting non-string via the IDL attribute:
84 PASS element.name = 123; element.name is "123"
85 PASS element.getAttribute("name") is "123"
86 Setting non-string via the content attribute:
87 PASS element.setAttribute("name", 456); element.name is "456"
88 PASS element.getAttribute("name") is "456"
89
90
91 Reflected DOMString attribute test for input/@name
92 Initial value:
93 PASS element.name is ""
94 PASS element.getAttribute("name") is null
95 Setting a value via the IDL attribute:
96 PASS element.name = "foo"; element.name is "foo"
97 PASS element.getAttribute("name") is "foo"
98 Setting a value via the content attribute:
99 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
100 PASS element.getAttribute("name") is " bar\n"
101 Setting null via the IDL attribute:
102 PASS element.name = null; element.name is "null"
103 PASS element.getAttribute("name") is "null"
104 Setting null via the content attribute:
105 PASS element.setAttribute("name", null); element.name is "null"
106 PASS element.getAttribute("name") is "null"
107 Setting undefined via the IDL attribute:
108 PASS element.name = undefined; element.name is "undefined"
109 PASS element.getAttribute("name") is "undefined"
110 Setting undefined via the content attribute:
111 PASS element.setAttribute("name", undefined); element.name is "undefined"
112 PASS element.getAttribute("name") is "undefined"
113 Setting non-string via the IDL attribute:
114 PASS element.name = 123; element.name is "123"
115 PASS element.getAttribute("name") is "123"
116 Setting non-string via the content attribute:
117 PASS element.setAttribute("name", 456); element.name is "456"
118 PASS element.getAttribute("name") is "456"
119
120
121 Reflected DOMString attribute test for input/@step
122 Initial value:
123 PASS element.step is ""
124 PASS element.getAttribute("step") is null
125 Setting a value via the IDL attribute:
126 PASS element.step = "foo"; element.step is "foo"
127 PASS element.getAttribute("step") is "foo"
128 Setting a value via the content attribute:
129 PASS element.setAttribute("step", " bar\n"); element.step is " bar\n"
130 PASS element.getAttribute("step") is " bar\n"
131 Setting null via the IDL attribute:
132 PASS element.step = null; element.step is "null"
133 PASS element.getAttribute("step") is "null"
134 Setting null via the content attribute:
135 PASS element.setAttribute("step", null); element.step is "null"
136 PASS element.getAttribute("step") is "null"
137 Setting undefined via the IDL attribute:
138 PASS element.step = undefined; element.step is "undefined"
139 PASS element.getAttribute("step") is "undefined"
140 Setting undefined via the content attribute:
141 PASS element.setAttribute("step", undefined); element.step is "undefined"
142 PASS element.getAttribute("step") is "undefined"
143 Setting non-string via the IDL attribute:
144 PASS element.step = 123; element.step is "123"
145 PASS element.getAttribute("step") is "123"
146 Setting non-string via the content attribute:
147 PASS element.setAttribute("step", 456); element.step is "456"
148 PASS element.getAttribute("step") is "456"
149
150
151 Reflected DOMString attribute test for keygen/@name
152 Initial value:
153 PASS element.name is ""
154 PASS element.getAttribute("name") is null
155 Setting a value via the IDL attribute:
156 PASS element.name = "foo"; element.name is "foo"
157 PASS element.getAttribute("name") is "foo"
158 Setting a value via the content attribute:
159 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
160 PASS element.getAttribute("name") is " bar\n"
161 Setting null via the IDL attribute:
162 PASS element.name = null; element.name is "null"
163 PASS element.getAttribute("name") is "null"
164 Setting null via the content attribute:
165 PASS element.setAttribute("name", null); element.name is "null"
166 PASS element.getAttribute("name") is "null"
167 Setting undefined via the IDL attribute:
168 PASS element.name = undefined; element.name is "undefined"
169 PASS element.getAttribute("name") is "undefined"
170 Setting undefined via the content attribute:
171 PASS element.setAttribute("name", undefined); element.name is "undefined"
172 PASS element.getAttribute("name") is "undefined"
173 Setting non-string via the IDL attribute:
174 PASS element.name = 123; element.name is "123"
175 PASS element.getAttribute("name") is "123"
176 Setting non-string via the content attribute:
177 PASS element.setAttribute("name", 456); element.name is "456"
178 PASS element.getAttribute("name") is "456"
179
180
181 Reflected DOMString attribute test for menu/@type
182 Initial value:
183 PASS element.type is ""
184 PASS element.getAttribute("type") is null
185 Setting a value via the IDL attribute:
186 PASS element.type = "foo"; element.type is "foo"
187 PASS element.getAttribute("type") is "foo"
188 Setting a value via the content attribute:
189 PASS element.setAttribute("type", " bar\n"); element.type is " bar\n"
190 PASS element.getAttribute("type") is " bar\n"
191 Setting null via the IDL attribute:
192 PASS element.type = null; element.type is "null"
193 PASS element.getAttribute("type") is "null"
194 Setting null via the content attribute:
195 PASS element.setAttribute("type", null); element.type is "null"
196 PASS element.getAttribute("type") is "null"
197 Setting undefined via the IDL attribute:
198 PASS element.type = undefined; element.type is "undefined"
199 PASS element.getAttribute("type") is "undefined"
200 Setting undefined via the content attribute:
201 PASS element.setAttribute("type", undefined); element.type is "undefined"
202 PASS element.getAttribute("type") is "undefined"
203 Setting non-string via the IDL attribute:
204 PASS element.type = 123; element.type is "123"
205 PASS element.getAttribute("type") is "123"
206 Setting non-string via the content attribute:
207 PASS element.setAttribute("type", 456); element.type is "456"
208 PASS element.getAttribute("type") is "456"
209
210
211 Reflected DOMString attribute test for menu/@label
212 Initial value:
213 PASS element.label is ""
214 PASS element.getAttribute("label") is null
215 Setting a value via the IDL attribute:
216 PASS element.label = "foo"; element.label is "foo"
217 PASS element.getAttribute("label") is "foo"
218 Setting a value via the content attribute:
219 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n"
220 PASS element.getAttribute("label") is " bar\n"
221 Setting null via the IDL attribute:
222 PASS element.label = null; element.label is "null"
223 PASS element.getAttribute("label") is "null"
224 Setting null via the content attribute:
225 PASS element.setAttribute("label", null); element.label is "null"
226 PASS element.getAttribute("label") is "null"
227 Setting undefined via the IDL attribute:
228 PASS element.label = undefined; element.label is "undefined"
229 PASS element.getAttribute("label") is "undefined"
230 Setting undefined via the content attribute:
231 PASS element.setAttribute("label", undefined); element.label is "undefined"
232 PASS element.getAttribute("label") is "undefined"
233 Setting non-string via the IDL attribute:
234 PASS element.label = 123; element.label is "123"
235 PASS element.getAttribute("label") is "123"
236 Setting non-string via the content attribute:
237 PASS element.setAttribute("label", 456); element.label is "456"
238 PASS element.getAttribute("label") is "456"
239
240
241 Reflected DOMString attribute test for menuitem/@type
242 Initial value:
243 PASS element.type is ""
244 PASS element.getAttribute("type") is null
245 Setting a value via the IDL attribute:
246 PASS element.type = "foo"; element.type is "foo"
247 PASS element.getAttribute("type") is "foo"
248 Setting a value via the content attribute:
249 PASS element.setAttribute("type", " bar\n"); element.type is " bar\n"
250 PASS element.getAttribute("type") is " bar\n"
251 Setting null via the IDL attribute:
252 PASS element.type = null; element.type is "null"
253 PASS element.getAttribute("type") is "null"
254 Setting null via the content attribute:
255 PASS element.setAttribute("type", null); element.type is "null"
256 PASS element.getAttribute("type") is "null"
257 Setting undefined via the IDL attribute:
258 PASS element.type = undefined; element.type is "undefined"
259 PASS element.getAttribute("type") is "undefined"
260 Setting undefined via the content attribute:
261 PASS element.setAttribute("type", undefined); element.type is "undefined"
262 PASS element.getAttribute("type") is "undefined"
263 Setting non-string via the IDL attribute:
264 PASS element.type = 123; element.type is "123"
265 PASS element.getAttribute("type") is "123"
266 Setting non-string via the content attribute:
267 PASS element.setAttribute("type", 456); element.type is "456"
268 PASS element.getAttribute("type") is "456"
269
270
271 Reflected DOMString attribute test for menuitem/@label
272 Initial value:
273 PASS element.label is ""
274 PASS element.getAttribute("label") is null
275 Setting a value via the IDL attribute:
276 PASS element.label = "foo"; element.label is "foo"
277 PASS element.getAttribute("label") is "foo"
278 Setting a value via the content attribute:
279 PASS element.setAttribute("label", " bar\n"); element.label is " bar\n"
280 PASS element.getAttribute("label") is " bar\n"
281 Setting null via the IDL attribute:
282 PASS element.label = null; element.label is "null"
283 PASS element.getAttribute("label") is "null"
284 Setting null via the content attribute:
285 PASS element.setAttribute("label", null); element.label is "null"
286 PASS element.getAttribute("label") is "null"
287 Setting undefined via the IDL attribute:
288 PASS element.label = undefined; element.label is "undefined"
289 PASS element.getAttribute("label") is "undefined"
290 Setting undefined via the content attribute:
291 PASS element.setAttribute("label", undefined); element.label is "undefined"
292 PASS element.getAttribute("label") is "undefined"
293 Setting non-string via the IDL attribute:
294 PASS element.label = 123; element.label is "123"
295 PASS element.getAttribute("label") is "123"
296 Setting non-string via the content attribute:
297 PASS element.setAttribute("label", 456); element.label is "456"
298 PASS element.getAttribute("label") is "456"
299
300
301 Reflected DOMString attribute test for object/@name
302 Initial value:
303 PASS element.name is ""
304 PASS element.getAttribute("name") is null
305 Setting a value via the IDL attribute:
306 PASS element.name = "foo"; element.name is "foo"
307 PASS element.getAttribute("name") is "foo"
308 Setting a value via the content attribute:
309 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
310 PASS element.getAttribute("name") is " bar\n"
311 Setting null via the IDL attribute:
312 PASS element.name = null; element.name is "null"
313 PASS element.getAttribute("name") is "null"
314 Setting null via the content attribute:
315 PASS element.setAttribute("name", null); element.name is "null"
316 PASS element.getAttribute("name") is "null"
317 Setting undefined via the IDL attribute:
318 PASS element.name = undefined; element.name is "undefined"
319 PASS element.getAttribute("name") is "undefined"
320 Setting undefined via the content attribute:
321 PASS element.setAttribute("name", undefined); element.name is "undefined"
322 PASS element.getAttribute("name") is "undefined"
323 Setting non-string via the IDL attribute:
324 PASS element.name = 123; element.name is "123"
325 PASS element.getAttribute("name") is "123"
326 Setting non-string via the content attribute:
327 PASS element.setAttribute("name", 456); element.name is "456"
328 PASS element.getAttribute("name") is "456"
329
330
331 Reflected DOMString attribute test for output/@name
332 Initial value:
333 PASS element.name is ""
334 PASS element.getAttribute("name") is null
335 Setting a value via the IDL attribute:
336 PASS element.name = "foo"; element.name is "foo"
337 PASS element.getAttribute("name") is "foo"
338 Setting a value via the content attribute:
339 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
340 PASS element.getAttribute("name") is " bar\n"
341 Setting null via the IDL attribute:
342 PASS element.name = null; element.name is "null"
343 PASS element.getAttribute("name") is "null"
344 Setting null via the content attribute:
345 PASS element.setAttribute("name", null); element.name is "null"
346 PASS element.getAttribute("name") is "null"
347 Setting undefined via the IDL attribute:
348 PASS element.name = undefined; element.name is "undefined"
349 PASS element.getAttribute("name") is "undefined"
350 Setting undefined via the content attribute:
351 PASS element.setAttribute("name", undefined); element.name is "undefined"
352 PASS element.getAttribute("name") is "undefined"
353 Setting non-string via the IDL attribute:
354 PASS element.name = 123; element.name is "123"
355 PASS element.getAttribute("name") is "123"
356 Setting non-string via the content attribute:
357 PASS element.setAttribute("name", 456); element.name is "456"
358 PASS element.getAttribute("name") is "456"
359
360
361 Reflected DOMString attribute test for select/@name
362 Initial value:
363 PASS element.name is ""
364 PASS element.getAttribute("name") is null
365 Setting a value via the IDL attribute:
366 PASS element.name = "foo"; element.name is "foo"
367 PASS element.getAttribute("name") is "foo"
368 Setting a value via the content attribute:
369 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
370 PASS element.getAttribute("name") is " bar\n"
371 Setting null via the IDL attribute:
372 PASS element.name = null; element.name is "null"
373 PASS element.getAttribute("name") is "null"
374 Setting null via the content attribute:
375 PASS element.setAttribute("name", null); element.name is "null"
376 PASS element.getAttribute("name") is "null"
377 Setting undefined via the IDL attribute:
378 PASS element.name = undefined; element.name is "undefined"
379 PASS element.getAttribute("name") is "undefined"
380 Setting undefined via the content attribute:
381 PASS element.setAttribute("name", undefined); element.name is "undefined"
382 PASS element.getAttribute("name") is "undefined"
383 Setting non-string via the IDL attribute:
384 PASS element.name = 123; element.name is "123"
385 PASS element.getAttribute("name") is "123"
386 Setting non-string via the content attribute:
387 PASS element.setAttribute("name", 456); element.name is "456"
388 PASS element.getAttribute("name") is "456"
389
390
391 Reflected DOMString attribute test for textarea/@name
392 Initial value:
393 PASS element.name is ""
394 PASS element.getAttribute("name") is null
395 Setting a value via the IDL attribute:
396 PASS element.name = "foo"; element.name is "foo"
397 PASS element.getAttribute("name") is "foo"
398 Setting a value via the content attribute:
399 PASS element.setAttribute("name", " bar\n"); element.name is " bar\n"
400 PASS element.getAttribute("name") is " bar\n"
401 Setting null via the IDL attribute:
402 PASS element.name = null; element.name is "null"
403 PASS element.getAttribute("name") is "null"
404 Setting null via the content attribute:
405 PASS element.setAttribute("name", null); element.name is "null"
406 PASS element.getAttribute("name") is "null"
407 Setting undefined via the IDL attribute:
408 PASS element.name = undefined; element.name is "undefined"
409 PASS element.getAttribute("name") is "undefined"
410 Setting undefined via the content attribute:
411 PASS element.setAttribute("name", undefined); element.name is "undefined"
412 PASS element.getAttribute("name") is "undefined"
413 Setting non-string via the IDL attribute:
414 PASS element.name = 123; element.name is "123"
415 PASS element.getAttribute("name") is "123"
416 Setting non-string via the content attribute:
417 PASS element.setAttribute("name", 456); element.name is "456"
418 PASS element.getAttribute("name") is "456"
419
420
421 Reflected DOMString attribute test for frame/@marginheight
422 Initial value:
423 PASS element.marginHeight is ""
424 PASS element.getAttribute("marginheight") is null
425 Setting a value via the IDL attribute:
426 PASS element.marginHeight = "foo"; element.marginHeight is "foo"
427 PASS element.getAttribute("marginheight") is "foo"
428 Setting a value via the content attribute:
429 PASS element.setAttribute("marginheight", " bar\n"); element.marginHeight is " bar\n"
430 PASS element.getAttribute("marginheight") is " bar\n"
431 Setting null via the IDL attribute:
432 PASS element.marginHeight = null; element.marginHeight is ""
433 PASS element.getAttribute("marginheight") is ""
434 Setting null via the content attribute:
435 PASS element.setAttribute("marginheight", null); element.marginHeight is "null"
436 PASS element.getAttribute("marginheight") is "null"
437 Setting undefined via the IDL attribute:
438 PASS element.marginHeight = undefined; element.marginHeight is "undefined"
439 PASS element.getAttribute("marginheight") is "undefined"
440 Setting undefined via the content attribute:
441 PASS element.setAttribute("marginheight", undefined); element.marginHeight is "undefined"
442 PASS element.getAttribute("marginheight") is "undefined"
443 Setting non-string via the IDL attribute:
444 PASS element.marginHeight = 123; element.marginHeight is "123"
445 PASS element.getAttribute("marginheight") is "123"
446 Setting non-string via the content attribute:
447 PASS element.setAttribute("marginheight", 456); element.marginHeight is "456"
448 PASS element.getAttribute("marginheight") is "456"
449
450
451 Reflected DOMString attribute test for frame/@marginwidth
452 Initial value:
453 PASS element.marginWidth is ""
454 PASS element.getAttribute("marginwidth") is null
455 Setting a value via the IDL attribute:
456 PASS element.marginWidth = "foo"; element.marginWidth is "foo"
457 PASS element.getAttribute("marginwidth") is "foo"
458 Setting a value via the content attribute:
459 PASS element.setAttribute("marginwidth", " bar\n"); element.marginWidth is " bar\n"
460 PASS element.getAttribute("marginwidth") is " bar\n"
461 Setting null via the IDL attribute:
462 PASS element.marginWidth = null; element.marginWidth is ""
463 PASS element.getAttribute("marginwidth") is ""
464 Setting null via the content attribute:
465 PASS element.setAttribute("marginwidth", null); element.marginWidth is "null"
466 PASS element.getAttribute("marginwidth") is "null"
467 Setting undefined via the IDL attribute:
468 PASS element.marginWidth = undefined; element.marginWidth is "undefined"
469 PASS element.getAttribute("marginwidth") is "undefined"
470 Setting undefined via the content attribute:
471 PASS element.setAttribute("marginwidth", undefined); element.marginWidth is "undefined"
472 PASS element.getAttribute("marginwidth") is "undefined"
473 Setting non-string via the IDL attribute:
474 PASS element.marginWidth = 123; element.marginWidth is "123"
475 PASS element.getAttribute("marginwidth") is "123"
476 Setting non-string via the content attribute:
477 PASS element.setAttribute("marginwidth", 456); element.marginWidth is "456"
478 PASS element.getAttribute("marginwidth") is "456"
479
480
481 Reflected DOMString attribute test for iframe/@marginheight
482 Initial value:
483 PASS element.marginHeight is ""
484 PASS element.getAttribute("marginheight") is null
485 Setting a value via the IDL attribute:
486 PASS element.marginHeight = "foo"; element.marginHeight is "foo"
487 PASS element.getAttribute("marginheight") is "foo"
488 Setting a value via the content attribute:
489 PASS element.setAttribute("marginheight", " bar\n"); element.marginHeight is " bar\n"
490 PASS element.getAttribute("marginheight") is " bar\n"
491 Setting null via the IDL attribute:
492 PASS element.marginHeight = null; element.marginHeight is ""
493 PASS element.getAttribute("marginheight") is ""
494 Setting null via the content attribute:
495 PASS element.setAttribute("marginheight", null); element.marginHeight is "null"
496 PASS element.getAttribute("marginheight") is "null"
497 Setting undefined via the IDL attribute:
498 PASS element.marginHeight = undefined; element.marginHeight is "undefined"
499 PASS element.getAttribute("marginheight") is "undefined"
500 Setting undefined via the content attribute:
501 PASS element.setAttribute("marginheight", undefined); element.marginHeight is "undefined"
502 PASS element.getAttribute("marginheight") is "undefined"
503 Setting non-string via the IDL attribute:
504 PASS element.marginHeight = 123; element.marginHeight is "123"
505 PASS element.getAttribute("marginheight") is "123"
506 Setting non-string via the content attribute:
507 PASS element.setAttribute("marginheight", 456); element.marginHeight is "456"
508 PASS element.getAttribute("marginheight") is "456"
509
510
511 Reflected DOMString attribute test for iframe/@marginwidth
512 Initial value:
513 PASS element.marginWidth is ""
514 PASS element.getAttribute("marginwidth") is null
515 Setting a value via the IDL attribute:
516 PASS element.marginWidth = "foo"; element.marginWidth is "foo"
517 PASS element.getAttribute("marginwidth") is "foo"
518 Setting a value via the content attribute:
519 PASS element.setAttribute("marginwidth", " bar\n"); element.marginWidth is " bar\n"
520 PASS element.getAttribute("marginwidth") is " bar\n"
521 Setting null via the IDL attribute:
522 PASS element.marginWidth = null; element.marginWidth is ""
523 PASS element.getAttribute("marginwidth") is ""
524 Setting null via the content attribute:
525 PASS element.setAttribute("marginwidth", null); element.marginWidth is "null"
526 PASS element.getAttribute("marginwidth") is "null"
527 Setting undefined via the IDL attribute:
528 PASS element.marginWidth = undefined; element.marginWidth is "undefined"
529 PASS element.getAttribute("marginwidth") is "undefined"
530 Setting undefined via the content attribute:
531 PASS element.setAttribute("marginwidth", undefined); element.marginWidth is "undefined"
532 PASS element.getAttribute("marginwidth") is "undefined"
533 Setting non-string via the IDL attribute:
534 PASS element.marginWidth = 123; element.marginWidth is "123"
535 PASS element.getAttribute("marginwidth") is "123"
536 Setting non-string via the content attribute:
537 PASS element.setAttribute("marginwidth", 456); element.marginWidth is "456"
538 PASS element.getAttribute("marginwidth") is "456"
539
540
541 Reflected DOMString attribute test for body/@text
542 Initial value:
543 PASS element.text is ""
544 PASS element.getAttribute("text") is null
545 Setting a value via the IDL attribute:
546 PASS element.text = "foo"; element.text is "foo"
547 PASS element.getAttribute("text") is "foo"
548 Setting a value via the content attribute:
549 PASS element.setAttribute("text", " bar\n"); element.text is " bar\n"
550 PASS element.getAttribute("text") is " bar\n"
551 Setting null via the IDL attribute:
552 PASS element.text = null; element.text is ""
553 PASS element.getAttribute("text") is ""
554 Setting null via the content attribute:
555 PASS element.setAttribute("text", null); element.text is "null"
556 PASS element.getAttribute("text") is "null"
557 Setting undefined via the IDL attribute:
558 PASS element.text = undefined; element.text is "undefined"
559 PASS element.getAttribute("text") is "undefined"
560 Setting undefined via the content attribute:
561 PASS element.setAttribute("text", undefined); element.text is "undefined"
562 PASS element.getAttribute("text") is "undefined"
563 Setting non-string via the IDL attribute:
564 PASS element.text = 123; element.text is "123"
565 PASS element.getAttribute("text") is "123"
566 Setting non-string via the content attribute:
567 PASS element.setAttribute("text", 456); element.text is "456"
568 PASS element.getAttribute("text") is "456"
569
570
571 Reflected DOMString attribute test for body/@link
572 Initial value:
573 PASS element.link is ""
574 PASS element.getAttribute("link") is null
575 Setting a value via the IDL attribute:
576 PASS element.link = "foo"; element.link is "foo"
577 PASS element.getAttribute("link") is "foo"
578 Setting a value via the content attribute:
579 PASS element.setAttribute("link", " bar\n"); element.link is " bar\n"
580 PASS element.getAttribute("link") is " bar\n"
581 Setting null via the IDL attribute:
582 PASS element.link = null; element.link is ""
583 PASS element.getAttribute("link") is ""
584 Setting null via the content attribute:
585 PASS element.setAttribute("link", null); element.link is "null"
586 PASS element.getAttribute("link") is "null"
587 Setting undefined via the IDL attribute:
588 PASS element.link = undefined; element.link is "undefined"
589 PASS element.getAttribute("link") is "undefined"
590 Setting undefined via the content attribute:
591 PASS element.setAttribute("link", undefined); element.link is "undefined"
592 PASS element.getAttribute("link") is "undefined"
593 Setting non-string via the IDL attribute:
594 PASS element.link = 123; element.link is "123"
595 PASS element.getAttribute("link") is "123"
596 Setting non-string via the content attribute:
597 PASS element.setAttribute("link", 456); element.link is "456"
598 PASS element.getAttribute("link") is "456"
599
600
601 Reflected DOMString attribute test for body/@alink
602 Initial value:
603 PASS element.aLink is ""
604 PASS element.getAttribute("alink") is null
605 Setting a value via the IDL attribute:
606 PASS element.aLink = "foo"; element.aLink is "foo"
607 PASS element.getAttribute("alink") is "foo"
608 Setting a value via the content attribute:
609 PASS element.setAttribute("alink", " bar\n"); element.aLink is " bar\n"
610 PASS element.getAttribute("alink") is " bar\n"
611 Setting null via the IDL attribute:
612 PASS element.aLink = null; element.aLink is ""
613 PASS element.getAttribute("alink") is ""
614 Setting null via the content attribute:
615 PASS element.setAttribute("alink", null); element.aLink is "null"
616 PASS element.getAttribute("alink") is "null"
617 Setting undefined via the IDL attribute:
618 PASS element.aLink = undefined; element.aLink is "undefined"
619 PASS element.getAttribute("alink") is "undefined"
620 Setting undefined via the content attribute:
621 PASS element.setAttribute("alink", undefined); element.aLink is "undefined"
622 PASS element.getAttribute("alink") is "undefined"
623 Setting non-string via the IDL attribute:
624 PASS element.aLink = 123; element.aLink is "123"
625 PASS element.getAttribute("alink") is "123"
626 Setting non-string via the content attribute:
627 PASS element.setAttribute("alink", 456); element.aLink is "456"
628 PASS element.getAttribute("alink") is "456"
629
630
631 Reflected DOMString attribute test for body/@vlink
632 Initial value:
633 PASS element.vLink is ""
634 PASS element.getAttribute("vlink") is null
635 Setting a value via the IDL attribute:
636 PASS element.vLink = "foo"; element.vLink is "foo"
637 PASS element.getAttribute("vlink") is "foo"
638 Setting a value via the content attribute:
639 PASS element.setAttribute("vlink", " bar\n"); element.vLink is " bar\n"
640 PASS element.getAttribute("vlink") is " bar\n"
641 Setting null via the IDL attribute:
642 PASS element.vLink = null; element.vLink is ""
643 PASS element.getAttribute("vlink") is ""
644 Setting null via the content attribute:
645 PASS element.setAttribute("vlink", null); element.vLink is "null"
646 PASS element.getAttribute("vlink") is "null"
647 Setting undefined via the IDL attribute:
648 PASS element.vLink = undefined; element.vLink is "undefined"
649 PASS element.getAttribute("vlink") is "undefined"
650 Setting undefined via the content attribute:
651 PASS element.setAttribute("vlink", undefined); element.vLink is "undefined"
652 PASS element.getAttribute("vlink") is "undefined"
653 Setting non-string via the IDL attribute:
654 PASS element.vLink = 123; element.vLink is "123"
655 PASS element.getAttribute("vlink") is "123"
656 Setting non-string via the content attribute:
657 PASS element.setAttribute("vlink", 456); element.vLink is "456"
658 PASS element.getAttribute("vlink") is "456"
659
660
661 Reflected DOMString attribute test for body/@bgcolor
662 Initial value:
663 PASS element.bgColor is ""
664 PASS element.getAttribute("bgcolor") is null
665 Setting a value via the IDL attribute:
666 PASS element.bgColor = "foo"; element.bgColor is "foo"
667 PASS element.getAttribute("bgcolor") is "foo"
668 Setting a value via the content attribute:
669 PASS element.setAttribute("bgcolor", " bar\n"); element.bgColor is " bar\n"
670 PASS element.getAttribute("bgcolor") is " bar\n"
671 Setting null via the IDL attribute:
672 PASS element.bgColor = null; element.bgColor is ""
673 PASS element.getAttribute("bgcolor") is ""
674 Setting null via the content attribute:
675 PASS element.setAttribute("bgcolor", null); element.bgColor is "null"
676 PASS element.getAttribute("bgcolor") is "null"
677 Setting undefined via the IDL attribute:
678 PASS element.bgColor = undefined; element.bgColor is "undefined"
679 PASS element.getAttribute("bgcolor") is "undefined"
680 Setting undefined via the content attribute:
681 PASS element.setAttribute("bgcolor", undefined); element.bgColor is "undefined"
682 PASS element.getAttribute("bgcolor") is "undefined"
683 Setting non-string via the IDL attribute:
684 PASS element.bgColor = 123; element.bgColor is "123"
685 PASS element.getAttribute("bgcolor") is "123"
686 Setting non-string via the content attribute:
687 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
688 PASS element.getAttribute("bgcolor") is "456"
689
690
691 Reflected DOMString attribute test for font/@color
692 Initial value:
693 PASS element.color is ""
694 PASS element.getAttribute("color") is null
695 Setting a value via the IDL attribute:
696 PASS element.color = "foo"; element.color is "foo"
697 PASS element.getAttribute("color") is "foo"
698 Setting a value via the content attribute:
699 PASS element.setAttribute("color", " bar\n"); element.color is " bar\n"
700 PASS element.getAttribute("color") is " bar\n"
701 Setting null via the IDL attribute:
702 PASS element.color = null; element.color is ""
703 PASS element.getAttribute("color") is ""
704 Setting null via the content attribute:
705 PASS element.setAttribute("color", null); element.color is "null"
706 PASS element.getAttribute("color") is "null"
707 Setting undefined via the IDL attribute:
708 PASS element.color = undefined; element.color is "undefined"
709 PASS element.getAttribute("color") is "undefined"
710 Setting undefined via the content attribute:
711 PASS element.setAttribute("color", undefined); element.color is "undefined"
712 PASS element.getAttribute("color") is "undefined"
713 Setting non-string via the IDL attribute:
714 PASS element.color = 123; element.color is "123"
715 PASS element.getAttribute("color") is "123"
716 Setting non-string via the content attribute:
717 PASS element.setAttribute("color", 456); element.color is "456"
718 PASS element.getAttribute("color") is "456"
719
720
721 Reflected DOMString attribute test for img/@border
722 Initial value:
723 PASS element.border is ""
724 PASS element.getAttribute("border") is null
725 Setting a value via the IDL attribute:
726 PASS element.border = "foo"; element.border is "foo"
727 PASS element.getAttribute("border") is "foo"
728 Setting a value via the content attribute:
729 PASS element.setAttribute("border", " bar\n"); element.border is " bar\n"
730 PASS element.getAttribute("border") is " bar\n"
731 Setting null via the IDL attribute:
732 PASS element.border = null; element.border is ""
733 PASS element.getAttribute("border") is ""
734 Setting null via the content attribute:
735 PASS element.setAttribute("border", null); element.border is "null"
736 PASS element.getAttribute("border") is "null"
737 Setting undefined via the IDL attribute:
738 PASS element.border = undefined; element.border is "undefined"
739 PASS element.getAttribute("border") is "undefined"
740 Setting undefined via the content attribute:
741 PASS element.setAttribute("border", undefined); element.border is "undefined"
742 PASS element.getAttribute("border") is "undefined"
743 Setting non-string via the IDL attribute:
744 PASS element.border = 123; element.border is "123"
745 PASS element.getAttribute("border") is "123"
746 Setting non-string via the content attribute:
747 PASS element.setAttribute("border", 456); element.border is "456"
748 PASS element.getAttribute("border") is "456"
749
750
751 Reflected DOMString attribute test for object/@border
752 Initial value:
753 PASS element.border is ""
754 PASS element.getAttribute("border") is null
755 Setting a value via the IDL attribute:
756 PASS element.border = "foo"; element.border is "foo"
757 PASS element.getAttribute("border") is "foo"
758 Setting a value via the content attribute:
759 PASS element.setAttribute("border", " bar\n"); element.border is " bar\n"
760 PASS element.getAttribute("border") is " bar\n"
761 Setting null via the IDL attribute:
762 PASS element.border = null; element.border is ""
763 PASS element.getAttribute("border") is ""
764 Setting null via the content attribute:
765 PASS element.setAttribute("border", null); element.border is "null"
766 PASS element.getAttribute("border") is "null"
767 Setting undefined via the IDL attribute:
768 PASS element.border = undefined; element.border is "undefined"
769 PASS element.getAttribute("border") is "undefined"
770 Setting undefined via the content attribute:
771 PASS element.setAttribute("border", undefined); element.border is "undefined"
772 PASS element.getAttribute("border") is "undefined"
773 Setting non-string via the IDL attribute:
774 PASS element.border = 123; element.border is "123"
775 PASS element.getAttribute("border") is "123"
776 Setting non-string via the content attribute:
777 PASS element.setAttribute("border", 456); element.border is "456"
778 PASS element.getAttribute("border") is "456"
779
780
781 Reflected DOMString attribute test for table/@bgcolor
782 Initial value:
783 PASS element.bgColor is ""
784 PASS element.getAttribute("bgcolor") is null
785 Setting a value via the IDL attribute:
786 PASS element.bgColor = "foo"; element.bgColor is "foo"
787 PASS element.getAttribute("bgcolor") is "foo"
788 Setting a value via the content attribute:
789 PASS element.setAttribute("bgcolor", " bar\n"); element.bgColor is " bar\n"
790 PASS element.getAttribute("bgcolor") is " bar\n"
791 Setting null via the IDL attribute:
792 PASS element.bgColor = null; element.bgColor is ""
793 PASS element.getAttribute("bgcolor") is ""
794 Setting null via the content attribute:
795 PASS element.setAttribute("bgcolor", null); element.bgColor is "null"
796 PASS element.getAttribute("bgcolor") is "null"
797 Setting undefined via the IDL attribute:
798 PASS element.bgColor = undefined; element.bgColor is "undefined"
799 PASS element.getAttribute("bgcolor") is "undefined"
800 Setting undefined via the content attribute:
801 PASS element.setAttribute("bgcolor", undefined); element.bgColor is "undefined"
802 PASS element.getAttribute("bgcolor") is "undefined"
803 Setting non-string via the IDL attribute:
804 PASS element.bgColor = 123; element.bgColor is "123"
805 PASS element.getAttribute("bgcolor") is "123"
806 Setting non-string via the content attribute:
807 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
808 PASS element.getAttribute("bgcolor") is "456"
809
810
811 Reflected DOMString attribute test for table/@cellpadding
812 Initial value:
813 PASS element.cellPadding is ""
814 PASS element.getAttribute("cellpadding") is null
815 Setting a value via the IDL attribute:
816 PASS element.cellPadding = "foo"; element.cellPadding is "foo"
817 PASS element.getAttribute("cellpadding") is "foo"
818 Setting a value via the content attribute:
819 PASS element.setAttribute("cellpadding", " bar\n"); element.cellPadding is " bar\n"
820 PASS element.getAttribute("cellpadding") is " bar\n"
821 Setting null via the IDL attribute:
822 PASS element.cellPadding = null; element.cellPadding is ""
823 PASS element.getAttribute("cellpadding") is ""
824 Setting null via the content attribute:
825 PASS element.setAttribute("cellpadding", null); element.cellPadding is "null"
826 PASS element.getAttribute("cellpadding") is "null"
827 Setting undefined via the IDL attribute:
828 PASS element.cellPadding = undefined; element.cellPadding is "undefined"
829 PASS element.getAttribute("cellpadding") is "undefined"
830 Setting undefined via the content attribute:
831 PASS element.setAttribute("cellpadding", undefined); element.cellPadding is "undefined"
832 PASS element.getAttribute("cellpadding") is "undefined"
833 Setting non-string via the IDL attribute:
834 PASS element.cellPadding = 123; element.cellPadding is "123"
835 PASS element.getAttribute("cellpadding") is "123"
836 Setting non-string via the content attribute:
837 PASS element.setAttribute("cellpadding", 456); element.cellPadding is "456"
838 PASS element.getAttribute("cellpadding") is "456"
839
840
841 Reflected DOMString attribute test for table/@cellspacing
842 Initial value:
843 PASS element.cellSpacing is ""
844 PASS element.getAttribute("cellspacing") is null
845 Setting a value via the IDL attribute:
846 PASS element.cellSpacing = "foo"; element.cellSpacing is "foo"
847 PASS element.getAttribute("cellspacing") is "foo"
848 Setting a value via the content attribute:
849 PASS element.setAttribute("cellspacing", " bar\n"); element.cellSpacing is " bar\n"
850 PASS element.getAttribute("cellspacing") is " bar\n"
851 Setting null via the IDL attribute:
852 PASS element.cellSpacing = null; element.cellSpacing is ""
853 PASS element.getAttribute("cellspacing") is ""
854 Setting null via the content attribute:
855 PASS element.setAttribute("cellspacing", null); element.cellSpacing is "null"
856 PASS element.getAttribute("cellspacing") is "null"
857 Setting undefined via the IDL attribute:
858 PASS element.cellSpacing = undefined; element.cellSpacing is "undefined"
859 PASS element.getAttribute("cellspacing") is "undefined"
860 Setting undefined via the content attribute:
861 PASS element.setAttribute("cellspacing", undefined); element.cellSpacing is "undefined"
862 PASS element.getAttribute("cellspacing") is "undefined"
863 Setting non-string via the IDL attribute:
864 PASS element.cellSpacing = 123; element.cellSpacing is "123"
865 PASS element.getAttribute("cellspacing") is "123"
866 Setting non-string via the content attribute:
867 PASS element.setAttribute("cellspacing", 456); element.cellSpacing is "456"
868 PASS element.getAttribute("cellspacing") is "456"
869
870
871 Reflected DOMString attribute test for td/@bgcolor
872 Initial value:
873 PASS element.bgColor is ""
874 PASS element.getAttribute("bgcolor") is null
875 Setting a value via the IDL attribute:
876 PASS element.bgColor = "foo"; element.bgColor is "foo"
877 PASS element.getAttribute("bgcolor") is "foo"
878 Setting a value via the content attribute:
879 PASS element.setAttribute("bgcolor", " bar\n"); element.bgColor is " bar\n"
880 PASS element.getAttribute("bgcolor") is " bar\n"
881 Setting null via the IDL attribute:
882 PASS element.bgColor = null; element.bgColor is ""
883 PASS element.getAttribute("bgcolor") is ""
884 Setting null via the content attribute:
885 PASS element.setAttribute("bgcolor", null); element.bgColor is "null"
886 PASS element.getAttribute("bgcolor") is "null"
887 Setting undefined via the IDL attribute:
888 PASS element.bgColor = undefined; element.bgColor is "undefined"
889 PASS element.getAttribute("bgcolor") is "undefined"
890 Setting undefined via the content attribute:
891 PASS element.setAttribute("bgcolor", undefined); element.bgColor is "undefined"
892 PASS element.getAttribute("bgcolor") is "undefined"
893 Setting non-string via the IDL attribute:
894 PASS element.bgColor = 123; element.bgColor is "123"
895 PASS element.getAttribute("bgcolor") is "123"
896 Setting non-string via the content attribute:
897 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
898 PASS element.getAttribute("bgcolor") is "456"
899
900
901 Reflected DOMString attribute test for th/@bgcolor
902 Initial value:
903 PASS element.bgColor is ""
904 PASS element.getAttribute("bgcolor") is null
905 Setting a value via the IDL attribute:
906 PASS element.bgColor = "foo"; element.bgColor is "foo"
907 PASS element.getAttribute("bgcolor") is "foo"
908 Setting a value via the content attribute:
909 PASS element.setAttribute("bgcolor", " bar\n"); element.bgColor is " bar\n"
910 PASS element.getAttribute("bgcolor") is " bar\n"
911 Setting null via the IDL attribute:
912 PASS element.bgColor = null; element.bgColor is ""
913 PASS element.getAttribute("bgcolor") is ""
914 Setting null via the content attribute:
915 PASS element.setAttribute("bgcolor", null); element.bgColor is "null"
916 PASS element.getAttribute("bgcolor") is "null"
917 Setting undefined via the IDL attribute:
918 PASS element.bgColor = undefined; element.bgColor is "undefined"
919 PASS element.getAttribute("bgcolor") is "undefined"
920 Setting undefined via the content attribute:
921 PASS element.setAttribute("bgcolor", undefined); element.bgColor is "undefined"
922 PASS element.getAttribute("bgcolor") is "undefined"
923 Setting non-string via the IDL attribute:
924 PASS element.bgColor = 123; element.bgColor is "123"
925 PASS element.getAttribute("bgcolor") is "123"
926 Setting non-string via the content attribute:
927 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
928 PASS element.getAttribute("bgcolor") is "456"
929
930
931 Reflected DOMString attribute test for tr/@bgcolor
932 Initial value:
933 PASS element.bgColor is ""
934 PASS element.getAttribute("bgcolor") is null
935 Setting a value via the IDL attribute:
936 PASS element.bgColor = "foo"; element.bgColor is "foo"
937 PASS element.getAttribute("bgcolor") is "foo"
938 Setting a value via the content attribute:
939 PASS element.setAttribute("bgcolor", " bar\n"); element.bgColor is " bar\n"
940 PASS element.getAttribute("bgcolor") is " bar\n"
941 Setting null via the IDL attribute:
942 PASS element.bgColor = null; element.bgColor is ""
943 PASS element.getAttribute("bgcolor") is ""
944 Setting null via the content attribute:
945 PASS element.setAttribute("bgcolor", null); element.bgColor is "null"
946 PASS element.getAttribute("bgcolor") is "null"
947 Setting undefined via the IDL attribute:
948 PASS element.bgColor = undefined; element.bgColor is "undefined"
949 PASS element.getAttribute("bgcolor") is "undefined"
950 Setting undefined via the content attribute:
951 PASS element.setAttribute("bgcolor", undefined); element.bgColor is "undefined"
952 PASS element.getAttribute("bgcolor") is "undefined"
953 Setting non-string via the IDL attribute:
954 PASS element.bgColor = 123; element.bgColor is "123"
955 PASS element.getAttribute("bgcolor") is "123"
956 Setting non-string via the content attribute:
957 PASS element.setAttribute("bgcolor", 456); element.bgColor is "456"
958 PASS element.getAttribute("bgcolor") is "456"
959
960
961 PASS successfullyParsed is true
962
963 TEST COMPLETE
964