Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / global-event-handlers.html
blobbad5e8cb5e927fb47cd114a68f4f6377dcd089a2
1 <!DOCTYPE html>
2 <title>GlobalEventHandlers test</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="script-tests/event-handlers.js"></script>
6 <script>
7 // attribute list from WHATWG HTML Living Standard r8389
9 "onabort",
10 "onblur",
11 "oncancel",
12 "oncanplay",
13 "oncanplaythrough",
14 "onchange",
15 "onclick",
16 "onclose",
17 "oncontextmenu",
18 "oncuechange",
19 "ondblclick",
20 "ondrag",
21 "ondragend",
22 "ondragenter",
23 "ondragexit",
24 "ondragleave",
25 "ondragover",
26 "ondragstart",
27 "ondrop",
28 "ondurationchange",
29 "onemptied",
30 "onended",
31 "onerror",
32 "onfocus",
33 "oninput",
34 "oninvalid",
35 "onkeydown",
36 "onkeypress",
37 "onkeyup",
38 "onload",
39 "onloadeddata",
40 "onloadedmetadata",
41 "onloadstart",
42 "onmousedown",
43 "onmouseenter",
44 "onmouseleave",
45 "onmousemove",
46 "onmouseout",
47 "onmouseover",
48 "onmouseup",
49 "onmousewheel",
50 "onpause",
51 "onplay",
52 "onplaying",
53 "onprogress",
54 "onratechange",
55 "onreset",
56 "onresize",
57 "onscroll",
58 "onseeked",
59 "onseeking",
60 "onselect",
61 "onshow",
62 "onsort",
63 "onstalled",
64 "onsubmit",
65 "onsuspend",
66 "ontimeupdate",
67 "ontoggle",
68 "onvolumechange",
69 "onwaiting"
70 ].forEach(function(attribute) {
71 test(function() {
72 assert_false(attribute in getObject("Element"));
73 }, "No Element." + attribute);
74 testSet("HTMLElement", attribute);
75 testEnumerate("HTMLElement", attribute);
76 testReflect("HTMLElement", attribute);
77 testSet("SVGElement", attribute);
78 testEnumerate("SVGElement", attribute);
79 testReflect("SVGElement", attribute);
80 testSet("Document", attribute);
81 testEnumerate("Document", attribute);
82 testSet("Window", attribute);
83 testEnumerate("Window", attribute);
84 });
85 </script>
86 <div id="log"></div>