| Index: Source/web/tests/data/touch-action-simple.html
|
| diff --git a/Source/web/tests/data/touch-action-simple.html b/Source/web/tests/data/touch-action-simple.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6219b147008ad7de17dff79be53457787c23a809
|
| --- /dev/null
|
| +++ b/Source/web/tests/data/touch-action-simple.html
|
| @@ -0,0 +1,35 @@
|
| +<!DOCTYPE html>
|
| +<link rel='stylesheet' type='text/css' href='touch-action-tests.css'>
|
| +<script src='touch-action-tests.js'></script>
|
| +
|
| +<!--
|
| + Test a bunch of simple cases where touch-action: none results in a non-fast-scrollable region.
|
| +-->
|
| +
|
| +<div expected-action='auto'>Simple div with no explicit touch-action</div>
|
| +<div class='ta-none' expected-action='none'>Simple div with touch-action: none</div>
|
| +
|
| +<div class='ta-none' style='height: 0; margin-bottom: 50px'>
|
| + <div expected-action='none'>
|
| + Touch-action: none is propagated to descendants
|
| + </div>
|
| +</div>
|
| +
|
| +<div class='ta-none' style='height: 0; margin-bottom: 50px'>
|
| + <div class='ta-auto' expected-action='none'>
|
| + Explicitly setting touch-action: auto does nothing to prevent propagation of none
|
| + </div>
|
| +</div>
|
| +
|
| +<div style='padding: 20px 0'>
|
| + <span class='ta-none' expected-action='auto'>Touch-action should be ignored on inline elements
|
| + <div expected-action='auto'>And not propagated to any block children</div>
|
| + </span>
|
| +</div>
|
| +<p>Below case is broken, should be AUTO - <a href='http://crbug.com/319479'>Bug 319479</a></p>
|
| +<div class='ta-none' style='height: 0; margin-bottom: 100px'>
|
| + <span expected-action='none'>
|
| + touch-action should not be inherited by inline elements
|
| + <div expected-action='none'>But is inherited by any block descendants of them</div>
|
| + </span>
|
| +</div>
|
|
|