Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / pointer-events.html
blob7ffac8b6bd2247d412bfff21e60452e04b00fdce
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6 <title>Test for 'pointer-events' property in HTML</title>
7 <style type="text/css" media="screen">
8 #a {
9 pointer-events: auto;
10 background: #88f;
13 #a:hover {
14 background: green;
17 #b {
18 pointer-events: none;
19 background: #88f;
22 #b:hover {
23 background: red;
26 #c {
27 pointer-events: auto;
28 background: #88f;
31 #c span {
32 pointer-events: none;
33 background: #8ff;
36 #c:hover {
37 background: green;
40 #d {
41 pointer-events: none;
42 background: #88f;
45 #d span {
46 pointer-events: auto;
47 padding: 0 10px;
48 background: #8ff;
51 #d:hover {
52 background: gray;
55 #e {
56 padding: 10px;
57 pointer-events: none;
58 background: #88f;
61 #e div {
62 pointer-events: auto;
63 background: #8ff;
66 #e:hover {
67 background: gray;
70 #e div:hover {
71 background: green;
74 #f, #g, #h, #i, #k, #m {
75 padding: 10px;
76 background: #88f;
79 #f {
80 pointer-events: auto;
83 #f:hover {
84 background: green;
87 #g {
88 pointer-events: none;
91 #g:hover {
92 background: red;
95 #h {
96 pointer-events: auto;
99 #h:hover {
100 background: green;
103 #i {
104 pointer-events: none;
107 #i:hover {
108 background: red;
111 #j {
112 background: #88f;
113 pointer-events: none;
116 #j:hover {
117 background: gray;
120 #k {
121 pointer-events: auto;
124 #k:hover {
125 background: green;
128 #l {
129 background: #88f;
130 pointer-events: auto;
133 #l:hover {
134 background: green;
137 #m {
138 pointer-events: none;
141 #m:hover {
142 background: red;
145 </style>
147 </head>
148 <body>
149 <h1>Testing 'pointer-events' property in HTML</h1>
151 <p id="a">This whole paragraph SHOULD change background when hovered</p>
153 <p id="b">This whole paragraph SHOULD NOT change background when hovered</p>
155 <p id="c">This paragraph SHOULD change background when hovered anywhere including
156 <span>this inline text</span> even though the inline text ignores pointer events.</p>
158 <p id="d">This paragraph SHOULD NOT change when the pointer is over only it but
159 <span>this inline text</span> SHOULD change and cause the parent to change also.</p>
161 <div id="e">This paragraph SHOULD NOT change when the pointer is over only it (not the child)
162 <div>This child element SHOULD change and cause the parent to change also</div>
163 </div>
166 The following image SHOULD change when the pointer is over it.
167 </p>
169 <img id="f" src="../../../LayoutTests/media/content/abe.png">
172 The following image SHOULD NOT change when the pointer is over it.
173 </p>
175 <img id="g" src="../../../LayoutTests/media/content/abe.png">
178 The following image SHOULD change when the pointer is over it. It is inline
179 with this paragraph.
180 <img id="h" src="../../../LayoutTests/media/content/abe.png">
181 </p>
184 The following image SHOULD NOT change when the pointer is over it. It is inline
185 with this paragraph.
186 <img id="i" src="../../../LayoutTests/media/content/abe.png">
187 </p>
189 <p id="j">
190 This paragraph SHOULD NOT change when the pointer is over only it, but the child
191 image SHOULD react and cause the parent to change.
192 <img id="k" src="../../../LayoutTests/media/content/abe.png">
193 </p>
195 <p id="l">
196 This paragraph SHOULD change when the pointer is over it, but the child
197 image SHOULD NOT react.
198 <img id="m" src="../../../LayoutTests/media/content/abe.png">
199 </p>
202 </body>
203 </html>