OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>HTMLBodyElement and HTMLFrameSetElement event handler test</title> | 2 <title>HTMLBodyElement and HTMLFrameSetElement event handler test</title> |
3 <script src="../../resources/testharness.js"></script> | 3 <script src="../../resources/testharness.js"></script> |
4 <script src="../../resources/testharnessreport.js"></script> | 4 <script src="../../resources/testharnessreport.js"></script> |
5 <script src="script-tests/event-handlers.js"></script> | 5 <script src="script-tests/event-handlers.js"></script> |
6 <script> | 6 <script> |
7 // attribute list from WHATWG HTML Living Standard r8239 | 7 // attribute list from WHATWG HTML Living Standard r8389 |
8 [ | 8 [ |
9 "onblur", | 9 "onblur", |
10 "onerror", | 10 "onerror", |
11 "onfocus", | 11 "onfocus", |
12 "onload", | 12 "onload", |
| 13 "onresize", |
13 "onscroll" | 14 "onscroll" |
14 ].forEach(function(attribute) { | 15 ].forEach(function(attribute) { |
15 testSet("HTMLBodyElement", attribute); | 16 testSet("HTMLBodyElement", attribute); |
16 testEnumerate("HTMLBodyElement", attribute); | 17 testEnumerate("HTMLBodyElement", attribute); |
17 testReflect("HTMLBodyElement", attribute); | 18 testReflect("HTMLBodyElement", attribute); |
18 testForwardToWindow("HTMLBodyElement", attribute); | 19 testForwardToWindow("HTMLBodyElement", attribute); |
19 testSet("HTMLFrameSetElement", attribute); | 20 testSet("HTMLFrameSetElement", attribute); |
20 testEnumerate("HTMLFrameSetElement", attribute); | 21 testEnumerate("HTMLFrameSetElement", attribute); |
21 testReflect("HTMLFrameSetElement", attribute); | 22 testReflect("HTMLFrameSetElement", attribute); |
22 testForwardToWindow("HTMLFrameSetElement", attribute); | 23 testForwardToWindow("HTMLFrameSetElement", attribute); |
23 }); | 24 }); |
24 </script> | 25 </script> |
25 <div id="log"></div> | 26 <div id="log"></div> |
OLD | NEW |