OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <link rel="stylesheet" type="text/css" href="touch-action-tests.css"/> |
| 5 <script src="touch-action-tests.js"></script> |
| 6 </head> |
| 7 <body> |
| 8 |
| 9 <!-- |
| 10 Test a bunch of cases involving overflow: scroll elements. |
| 11 --> |
| 12 |
| 13 <div class='scroll' style='height:75px'> |
| 14 <div class='ta-none' expected-action="none"> |
| 15 touch-action: none still applies in scrollable area |
| 16 </div> |
| 17 <div class='spacer'></div> |
| 18 </div> |
| 19 |
| 20 <div class='ta-none scroll' style='height:75px'> |
| 21 <div expected-action="none"> |
| 22 Touch-action inherited by child in scrollable area |
| 23 </div> |
| 24 <div class='spacer'></div> |
| 25 </div> |
| 26 |
| 27 <div class='ta-none'> |
| 28 <div class='scroll' expected-action="auto"> |
| 29 Touch-action: none is not propagated into overflow-scroll elements |
| 30 </div> |
| 31 </div> |
| 32 |
| 33 </body> |
| 34 </html> |
| 35 |
OLD | NEW |