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 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = false; e.g
etAttribute('required') is null | 64 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = false; e.g
etAttribute('required') is null |
65 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = true; e.ge
tAttribute('required') is '' | 65 PASS e = make('input'); e.setAttribute('required', 'x'); e.required = true; e.ge
tAttribute('required') is '' |
66 PASS e = make('link'); e.removeAttribute('disabled'); e.disabled is false | 66 PASS e = make('link'); e.removeAttribute('disabled'); e.disabled is false |
67 PASS e = make('link'); e.setAttribute('disabled', ''); e.disabled is true | 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.ge
tAttribute('disabled') is null | 68 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = false; e.ge
tAttribute('disabled') is null |
69 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = true; e.get
Attribute('disabled') is '' | 69 PASS e = make('link'); e.setAttribute('disabled', 'x'); e.disabled = true; e.get
Attribute('disabled') is '' |
70 PASS e = make('menu'); e.removeAttribute('compact'); e.compact is false | 70 PASS e = make('menu'); e.removeAttribute('compact'); e.compact is false |
71 PASS e = make('menu'); e.setAttribute('compact', ''); e.compact is true | 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.getA
ttribute('compact') is null | 72 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = false; e.getA
ttribute('compact') is null |
73 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = true; e.getAt
tribute('compact') is '' | 73 PASS e = make('menu'); e.setAttribute('compact', 'x'); e.compact = true; e.getAt
tribute('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.g
etAttribute('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.g
etAttribute('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 '' |
74 PASS e = make('object'); e.removeAttribute('declare'); e.declare is false | 86 PASS e = make('object'); e.removeAttribute('declare'); e.declare is false |
75 PASS e = make('object'); e.setAttribute('declare', ''); e.declare is true | 87 PASS e = make('object'); e.setAttribute('declare', ''); e.declare is true |
76 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = false; e.ge
tAttribute('declare') is null | 88 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = false; e.ge
tAttribute('declare') is null |
77 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = true; e.get
Attribute('declare') is '' | 89 PASS e = make('object'); e.setAttribute('declare', 'x'); e.declare = true; e.get
Attribute('declare') is '' |
78 PASS e = make('ol'); e.removeAttribute('compact'); e.compact is false | 90 PASS e = make('ol'); e.removeAttribute('compact'); e.compact is false |
79 PASS e = make('ol'); e.setAttribute('compact', ''); e.compact is true | 91 PASS e = make('ol'); e.setAttribute('compact', ''); e.compact is true |
80 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = false; e.getAtt
ribute('compact') is null | 92 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = false; e.getAtt
ribute('compact') is null |
81 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttr
ibute('compact') is '' | 93 PASS e = make('ol'); e.setAttribute('compact', 'x'); e.compact = true; e.getAttr
ibute('compact') is '' |
82 PASS e = make('option'); e.removeAttribute('selected'); e.defaultSelected is fal
se | 94 PASS e = make('option'); e.removeAttribute('selected'); e.defaultSelected is fal
se |
83 PASS e = make('option'); e.setAttribute('selected', ''); e.defaultSelected is tr
ue | 95 PASS e = make('option'); e.setAttribute('selected', ''); e.defaultSelected is tr
ue |
(...skipping 24 matching lines...) Expand all Loading... |
108 PASS e = make('video'); e.setAttribute('controls', 'x'); e.controls = false; e.g
etAttribute('controls') is null | 120 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 '' | 121 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 | 122 PASS e = make('video'); e.removeAttribute('loop'); e.loop is false |
111 PASS e = make('video'); e.setAttribute('loop', ''); e.loop is true | 123 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 | 124 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 '' | 125 PASS e = make('video'); e.setAttribute('loop', 'x'); e.loop = true; e.getAttribu
te('loop') is '' |
114 PASS successfullyParsed is true | 126 PASS successfullyParsed is true |
115 | 127 |
116 TEST COMPLETE | 128 TEST COMPLETE |
117 | 129 |
OLD | NEW |