| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>touch-action: basic verification</title> | 4 <title>touch-action: basic verification</title> |
| 5 <meta name="assert" content="TA15.20 - The touch-action CSS property det
ermines whether touch input MAY trigger default behavior supplied by the user ag
ent. | 5 <meta name="assert" content="TA15.20 - The touch-action CSS property det
ermines whether touch input MAY trigger default behavior supplied by the user ag
ent. |
| 6 auto: The user agent MAY determine any permitted touch behaviors, such a
s panning and zooming manipulations of the viewport, for touches that begin on t
he element. | 6 auto: The user agent MAY determine any permitted touch behaviors, such a
s panning and zooming manipulations of the viewport, for touches that begin on t
he element. |
| 7 none: Touches that begin on the element MUST NOT trigger default touch b
ehaviors. | 7 none: Touches that begin on the element MUST NOT trigger default touch b
ehaviors. |
| 8 pan-x: The user agent MAY consider touches that begin on the element onl
y for the purposes of horizontally scrolling the element's nearest ancestor with
horizontally scrollable content. | 8 pan-x: The user agent MAY consider touches that begin on the element onl
y for the purposes of horizontally scrolling the element's nearest ancestor with
horizontally scrollable content. |
| 9 pan-y: The user agent MAY consider touches that begin on the element onl
y for the purposes of vertically scrolling the element's nearest ancestor with v
ertically scrollable content. | 9 pan-y: The user agent MAY consider touches that begin on the element onl
y for the purposes of vertically scrolling the element's nearest ancestor with v
ertically scrollable content. |
| 10 manipulation: The user agent MAY consider touches that begin on the elem
ent only for the purposes of scrolling and continuous zooming. Any additional be
haviors supported by auto are out of scope for this specification."> | 10 manipulation: The user agent MAY consider touches that begin on the elem
ent only for the purposes of scrolling and continuous zooming. Any additional be
haviors supported by auto are out of scope for this specification."> |
| 11 <meta name="viewport" content="width=device-width"> | 11 <meta name="viewport" content="width=device-width"> |
| 12 <link rel="stylesheet" type="text/css" href="pointerevent_styles.css"> | 12 <link rel="stylesheet" type="text/css" href="pointerevent_styles.css"> |
| 13 <script src="../../../resources/testharness.js"></script> | 13 <script src="/resources/testharness.js"></script> |
| 14 <script src="../../../resources/testharnessreport.js"></script> | 14 <script src="/resources/testharnessreport.js"></script> |
| 15 <script src="pointerevent_support.js"></script> | 15 <script src="pointerevent_support.js"></script> |
| 16 <style> | 16 <style> |
| 17 #target0 { | 17 #target0 { |
| 18 width: 700px; | 18 width: 700px; |
| 19 height: 20px; | 19 height: 20px; |
| 20 touch-action: auto; | 20 touch-action: auto; |
| 21 } | 21 } |
| 22 #target1 { | 22 #target1 { |
| 23 width: 700px; | 23 width: 700px; |
| 24 height: 20px; | 24 height: 20px; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 done(); | 92 done(); |
| 93 } | 93 } |
| 94 </script> | 94 </script> |
| 95 <h1>touch-action: basic verification</h1> | 95 <h1>touch-action: basic verification</h1> |
| 96 <div id="complete-notice"> | 96 <div id="complete-notice"> |
| 97 <p>The following pointer types were detected: <span id="pointertype-
log"></span>.</p> | 97 <p>The following pointer types were detected: <span id="pointertype-
log"></span>.</p> |
| 98 </div> | 98 </div> |
| 99 <div id="log"></div> | 99 <div id="log"></div> |
| 100 </body> | 100 </body> |
| 101 </html> | 101 </html> |
| OLD | NEW |