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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/pointerevents/pointerevent_touch-action-svg-test_touch-manual.html

Issue 2212873003: W3C auto test importer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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>SVG test</title> 4 <title>SVG test</title>
5 <meta name="viewport" content="width=device-width"> 5 <meta name="viewport" content="width=device-width">
6 <link rel="stylesheet" type="text/css" href="pointerevent_styles.css"> 6 <link rel="stylesheet" type="text/css" href="pointerevent_styles.css">
7 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script> 8 <script src="/resources/testharnessreport.js"></script>
9 <script src="pointerevent_support.js"></script> 9 <script src="pointerevent_support.js"></script>
10 <style> 10 <style>
11 #target0 { 11 #target0 {
12 height: 350px; 12 height: 350px;
13 width: 300px; 13 width: 300px;
14 overflow-y: auto; 14 overflow-y: auto;
15 background: black; 15 background: black;
16 padding: 100px; 16 padding: 100px;
17 position: relative; 17 position: relative;
18 } 18 }
19 </style> 19 </style>
20 </head> 20 </head>
21 <body onload="run()"> 21 <body onload="run()">
22 <h2>Pointer Events touch-action attribute support</h2> 22 <h2>Pointer Events touch-action attribute support</h2>
23 <h4 id="desc">Test Description: Try to scroll black element DOWN moving your touch outside of the red border. Wait for description update.</h4> 23 <h4 id="desc">Test Description: Try to scroll black element DOWN moving your touch outside of the red border. Wait for description update.</h4>
24 <p>Note: this test is for touch only</p> 24 <p>Note: this test is for touch only</p>
25 <div id="target0"> 25 <div id="target0">
26 <svg width="555" height="555" style="touch-action: none; border: 4p x double red;"> 26 <svg id="testSvg" width="555" height="555" style="touch-action: none ; border: 4px double red;">
27 <circle cx="305" cy="305" r="250" stroke="green" stroke-width="4 " fill="yellow" /> 27 <circle cx="305" cy="305" r="250" stroke="green" stroke-width="4 " fill="yellow" />
28 Sorry, your browser does not support inline SVG. 28 Sorry, your browser does not support inline SVG.
29 </svg> 29 </svg>
30 </div> 30 </div>
31 <br> 31 <br>
32 <input type="button" id="btnComplete" value="Complete test"> 32 <input type="button" id="btnComplete" value="Complete test">
33 <script type='text/javascript'> 33 <script type='text/javascript'>
34 var detected_pointertypes = {}; 34 var detected_pointertypes = {};
35 var xScrollIsReceived = false; 35 var xScrollIsReceived = false;
36 var yScrollIsReceived = false; 36 var yScrollIsReceived = false;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 target.scrollLeft = 0; 112 target.scrollLeft = 0;
113 } 113 }
114 } 114 }
115 </script> 115 </script>
116 <h1>touch-action: none</h1> 116 <h1>touch-action: none</h1>
117 <div id="complete-notice"> 117 <div id="complete-notice">
118 <p>The following pointer types were detected: <span id="pointertype- log"></span>.</p> 118 <p>The following pointer types were detected: <span id="pointertype- log"></span>.</p>
119 </div> 119 </div>
120 <div id="log"></div> 120 <div id="log"></div>
121 </body> 121 </body>
122 </html> 122 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698