OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>touch-action: child: none</title> | 4 <title>touch-action: child: none</title> |
5 <meta name="assert" content="TA15.9 - when a user touches an element, th
e effect of that touch is determined by the value of the touch-action property a
nd the default touch behaviors on the element and its ancestors. Scrollable-Pare
nt, Child: `none`"> | 5 <meta name="assert" content="TA15.9 - when a user touches an element, th
e effect of that touch is determined by the value of the touch-action property a
nd the default touch behaviors on the element and its ancestors. Scrollable-Pare
nt, Child: `none`"> |
6 <meta name="viewport" content="width=device-width"> | 6 <meta name="viewport" content="width=device-width"> |
7 <link rel="stylesheet" type="text/css" href="pointerevent_styles.css"> | 7 <link rel="stylesheet" type="text/css" href="pointerevent_styles.css"> |
8 <script src="/resources/testharness.js"></script> | 8 <script src="/resources/testharness.js"></script> |
9 <script src="/resources/testharnessreport.js"></script> | 9 <script src="/resources/testharnessreport.js"></script> |
10 <script src="pointerevent_support.js"></script> | 10 <script src="pointerevent_support.js"></script> |
11 <style> | 11 <style> |
12 .scroller > div { | 12 .scroller > div { |
13 touch-action: none; | 13 touch-action: none; |
14 } | 14 } |
15 </style> | 15 </style> |
16 </head> | 16 </head> |
17 <body onload="run()"> | 17 <body onload="run()"> |
18 <h1>Pointer Events touch-action attribute support</h1> | 18 <h1>Pointer Events touch-action attribute support</h1> |
19 <h4 id="desc">Test Description: Try to scroll element DOWN then RIGHT. T
ap Complete button under the rectangle when done. Expected: no panning</h4> | 19 <h4 id="desc">Test Description: Try to scroll element DOWN then RIGHT in
side blue rectangle. Tap Complete button under the rectangle when done. Expected
: no panning</h4> |
20 <p>Note: this test is for touch-devices only</p> | 20 <p>Note: this test is for touch-devices only</p> |
21 <div class="scroller" id="target0"> | 21 <div class="scroller" id="target0"> |
22 <div> | 22 <div id="scrollTarget"> |
23 <p> | 23 <p> |
24 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, se
d diem | 24 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, se
d diem |
25 nonummy nibh euismod tincidunt ut lacreet dolore magna aligu
am erat volutpat. | 25 nonummy nibh euismod tincidunt ut lacreet dolore magna aligu
am erat volutpat. |
26 Ut wisis enim ad minim veniam, quis nostrud exerci tution ul
lamcorper suscipit | 26 Ut wisis enim ad minim veniam, quis nostrud exerci tution ul
lamcorper suscipit |
27 lobortis nisl ut aliquip ex ea commodo consequat. | 27 lobortis nisl ut aliquip ex ea commodo consequat. |
28 </p> | 28 </p> |
29 <p>Lorem ipsum dolor sit amet...</p> | 29 <p>Lorem ipsum dolor sit amet...</p> |
30 <p>Lorem ipsum dolor sit amet...</p> | 30 <p>Lorem ipsum dolor sit amet...</p> |
31 <p>Lorem ipsum dolor sit amet...</p> | 31 <p>Lorem ipsum dolor sit amet...</p> |
32 <p>Lorem ipsum dolor sit amet...</p> | 32 <p>Lorem ipsum dolor sit amet...</p> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 }); | 103 }); |
104 } | 104 } |
105 </script> | 105 </script> |
106 <h1>behaviour: none</h1> | 106 <h1>behaviour: none</h1> |
107 <div id="complete-notice"> | 107 <div id="complete-notice"> |
108 <p>The following pointer types were detected: <span id="pointertype-
log"></span>.</p> | 108 <p>The following pointer types were detected: <span id="pointertype-
log"></span>.</p> |
109 </div> | 109 </div> |
110 <div id="log"></div> | 110 <div id="log"></div> |
111 </body> | 111 </body> |
112 </html> | 112 </html> |
OLD | NEW |