OLD | NEW |
1 Test reflecting boolean attributes. | 1 Test reflecting boolean attributes. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS e = make('area'); e.removeAttribute('nohref'); e.noHref is false | 6 PASS e = make('area'); e.removeAttribute('nohref'); e.noHref is false |
7 PASS e = make('area'); e.setAttribute('nohref', ''); e.noHref is true | 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.getAtt
ribute('nohref') is null | 8 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = false; e.getAtt
ribute('nohref') is null |
9 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = true; e.getAttr
ibute('nohref') is '' | 9 PASS e = make('area'); e.setAttribute('nohref', 'x'); e.noHref = true; e.getAttr
ibute('nohref') is '' |
10 PASS e = make('dir'); e.removeAttribute('compact'); e.compact is false | 10 PASS e = make('dir'); e.removeAttribute('compact'); e.compact is false |
11 PASS e = make('dir'); e.setAttribute('compact', ''); e.compact is true | 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.getAt
tribute('compact') is null | 12 PASS e = make('dir'); e.setAttribute('compact', 'x'); e.compact = false; e.getAt
tribute('compact') is null |
13 PASS e = make('dir'); e.setAttribute('compact', 'x'); e.compact = true; e.getAtt
ribute('compact') is '' | 13 PASS e = make('dir'); e.setAttribute('compact', 'x'); e.compact = true; e.getAtt
ribute('compact') is '' |
14 PASS e = make('dl'); e.removeAttribute('compact'); e.compact is false | 14 PASS e = make('dl'); e.removeAttribute('compact'); e.compact is false |
15 PASS e = make('dl'); e.setAttribute('compact', ''); e.compact is true | 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.getAtt
ribute('compact') is null | 16 PASS e = make('dl'); e.setAttribute('compact', 'x'); e.compact = false; e.getAtt
ribute('compact') is null |
17 PASS e = make('dl'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttr
ibute('compact') is '' | 17 PASS e = make('dl'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttr
ibute('compact') is '' |
18 PASS e = make('form'); e.removeAttribute('novalidate'); e.noValidate is false | 18 PASS e = make('form'); e.removeAttribute('novalidate'); e.noValidate is false |
19 PASS e = make('form'); e.setAttribute('novalidate', ''); e.noValidate is true | 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 | 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 '' | 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 | 22 PASS e = make('frame'); e.removeAttribute('noresize'); e.noResize is false |
23 PASS e = make('frame'); e.setAttribute('noresize', ''); e.noResize is true | 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.g
etAttribute('noresize') is null | 24 PASS e = make('frame'); e.setAttribute('noresize', 'x'); e.noResize = false; e.g
etAttribute('noresize') is null |
25 PASS e = make('frame'); e.setAttribute('noresize', 'x'); e.noResize = true; e.ge
tAttribute('noresize') is '' | 25 PASS e = make('frame'); e.setAttribute('noresize', 'x'); e.noResize = true; e.ge
tAttribute('noresize') is '' |
26 PASS e = make('hr'); e.removeAttribute('noshade'); e.noShade is false | 26 PASS e = make('hr'); e.removeAttribute('noshade'); e.noShade is false |
27 PASS e = make('hr'); e.setAttribute('noshade', ''); e.noShade is true | 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.getAtt
ribute('noshade') is null | 28 PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = false; e.getAtt
ribute('noshade') is null |
29 PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = true; e.getAttr
ibute('noshade') is '' | 29 PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = true; e.getAttr
ibute('noshade') is '' |
| 30 PASS e = make('iframe'); e.removeAttribute('allowfullscreen'); e.allowFullscreen
is false |
| 31 PASS e = make('iframe'); e.setAttribute('allowfullscreen', ''); e.allowFullscree
n is true |
| 32 PASS e = make('iframe'); e.setAttribute('allowfullscreen', 'x'); e.allowFullscre
en = false; e.getAttribute('allowfullscreen') is null |
| 33 PASS e = make('iframe'); e.setAttribute('allowfullscreen', 'x'); e.allowFullscre
en = true; e.getAttribute('allowfullscreen') is '' |
30 PASS e = make('img'); e.removeAttribute('ismap'); e.isMap is false | 34 PASS e = make('img'); e.removeAttribute('ismap'); e.isMap is false |
31 PASS e = make('img'); e.setAttribute('ismap', ''); e.isMap is true | 35 PASS e = make('img'); e.setAttribute('ismap', ''); e.isMap is true |
32 PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = false; e.getAttrib
ute('ismap') is null | 36 PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = false; e.getAttrib
ute('ismap') is null |
33 PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = true; e.getAttribu
te('ismap') is '' | 37 PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = true; e.getAttribu
te('ismap') is '' |
34 PASS e = make('input'); e.removeAttribute('autofocus'); e.autofocus is false | 38 PASS e = make('input'); e.removeAttribute('autofocus'); e.autofocus is false |
35 PASS e = make('input'); e.setAttribute('autofocus', ''); e.autofocus is true | 39 PASS e = make('input'); e.setAttribute('autofocus', ''); e.autofocus is true |
36 PASS e = make('input'); e.setAttribute('autofocus', 'x'); e.autofocus = false; e
.getAttribute('autofocus') is null | 40 PASS e = make('input'); e.setAttribute('autofocus', 'x'); e.autofocus = false; e
.getAttribute('autofocus') is null |
37 PASS e = make('input'); e.setAttribute('autofocus', 'x'); e.autofocus = true; e.
getAttribute('autofocus') is '' | 41 PASS e = make('input'); e.setAttribute('autofocus', 'x'); e.autofocus = true; e.
getAttribute('autofocus') is '' |
38 PASS e = make('input'); e.removeAttribute('checked'); e.defaultChecked is false | 42 PASS e = make('input'); e.removeAttribute('checked'); e.defaultChecked is false |
39 PASS e = make('input'); e.setAttribute('checked', ''); e.defaultChecked is true | 43 PASS e = make('input'); e.setAttribute('checked', ''); e.defaultChecked is true |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = false; e.g
etAttribute('controls') is null | 112 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = false; e.g
etAttribute('controls') is null |
109 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = true; e.ge
tAttribute('controls') is '' | 113 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = true; e.ge
tAttribute('controls') is '' |
110 PASS e = make('video'); e.removeAttribute('loop'); e.loop is false | 114 PASS e = make('video'); e.removeAttribute('loop'); e.loop is false |
111 PASS e = make('video'); e.setAttribute('loop', ''); e.loop is true | 115 PASS e = make('video'); e.setAttribute('loop', ''); e.loop is true |
112 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = false; e.getAttrib
ute('loop') is null | 116 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = false; e.getAttrib
ute('loop') is null |
113 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = true; e.getAttribu
te('loop') is '' | 117 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = true; e.getAttribu
te('loop') is '' |
114 PASS successfullyParsed is true | 118 PASS successfullyParsed is true |
115 | 119 |
116 TEST COMPLETE | 120 TEST COMPLETE |
117 | 121 |
OLD | NEW |