Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_touch-action-inherit_child-auto-child-none_touch-manual.html

Issue 2303013002: Add UMA metric to track usage of sending a mousedown to select elements. (Closed)
Patch Set: W3C auto test import CL. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>touch-action: parent > child: auto > child: none</title> 4 <title>touch-action: parent > child: auto > child: none</title>
5 <meta name="assert" content="TA15.5 - 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: `auto`, Grand-Child: `none`"> 5 <meta name="assert" content="TA15.5 - 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: `auto`, Grand-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: auto; 13 touch-action: auto;
14 } 14 }
15 .scroller > div div { 15 .scroller > div div {
16 touch-action: none; 16 touch-action: none;
17 } 17 }
18 </style> 18 </style>
19 </head> 19 </head>
20 <body onload="run()"> 20 <body onload="run()">
21 <h1>Pointer Events touch-action attribute support</h1> 21 <h1>Pointer Events touch-action attribute support</h1>
22 <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> 22 <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>
23 <p>Note: this test is for touch-devices only</p> 23 <p>Note: this test is for touch-devices only</p>
24 <div class="scroller" id="target0"> 24 <div class="scroller" id="target0">
25 <div> 25 <div>
26 <div> 26 <div id="scrollTarget">
27 <p> 27 <p>
28 Lorem ipsum dolor sit amet, consectetuer adipiscing elit , sed diem 28 Lorem ipsum dolor sit amet, consectetuer adipiscing elit , sed diem
29 nonummy nibh euismod tincidunt ut lacreet dolore magna a liguam erat volutpat. 29 nonummy nibh euismod tincidunt ut lacreet dolore magna a liguam erat volutpat.
30 Ut wisis enim ad minim veniam, quis nostrud exerci tutio n ullamcorper suscipit 30 Ut wisis enim ad minim veniam, quis nostrud exerci tutio n ullamcorper suscipit
31 lobortis nisl ut aliquip ex ea commodo consequat. 31 lobortis nisl ut aliquip ex ea commodo consequat.
32 </p> 32 </p>
33 <p>Lorem ipsum dolor sit amet...</p> 33 <p>Lorem ipsum dolor sit amet...</p>
34 <p>Lorem ipsum dolor sit amet...</p> 34 <p>Lorem ipsum dolor sit amet...</p>
35 <p>Lorem ipsum dolor sit amet...</p> 35 <p>Lorem ipsum dolor sit amet...</p>
36 <p>Lorem ipsum dolor sit amet...</p> 36 <p>Lorem ipsum dolor sit amet...</p>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 }); 108 });
109 } 109 }
110 </script> 110 </script>
111 <h1>behaviour: none</h1> 111 <h1>behaviour: none</h1>
112 <div id="complete-notice"> 112 <div id="complete-notice">
113 <p>The following pointer types were detected: <span id="pointertype- log"></span>.</p> 113 <p>The following pointer types were detected: <span id="pointertype- log"></span>.</p>
114 </div> 114 </div>
115 <div id="log"></div> 115 <div id="log"></div>
116 </body> 116 </body>
117 </html> 117 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698