OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'> |
| 3 <script src='touch-action-tests.js'></script> |
| 4 |
| 5 <!-- |
| 6 Test a bunch of cases involving iframes. |
| 7 --> |
| 8 <iframe srcdoc=" |
| 9 <div style='touch-action: none;' expected-action='none'> |
| 10 touch-action: none still applies inside an iframe |
| 11 </div> |
| 12 "></iframe> |
| 13 |
| 14 <iframe style='touch-action: none;' srcdoc=" |
| 15 <div expected-action='pan-x-y'> |
| 16 Zoom (but not scroll) related touch-action bits propagate into iframes |
| 17 </div> |
| 18 "></iframe> |
| 19 |
| 20 <iframe style='touch-action: manipulation;' srcdoc=" |
| 21 <div expected-action='manipulation'> |
| 22 touch-action: manipulation is maintained across iframes |
| 23 </div> |
| 24 "></iframe> |
OLD | NEW |