| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'> | 2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'> |
| 3 <script src='touch-action-tests.js'></script> | 3 <script src='touch-action-tests.js'></script> |
| 4 | 4 |
| 5 <!-- | 5 <!-- |
| 6 Test a bunch of simple cases where touch-action: none results in a non-fast
-scrollable region. | 6 Test a bunch of simple cases where touch-action: none results in a non-fast
-scrollable region. |
| 7 --> | 7 --> |
| 8 | 8 |
| 9 <div expected-action='auto'>Simple div with no explicit touch-action</div> | 9 <div expected-action='auto'>Simple div with no explicit touch-action</div> |
| 10 <div class='ta-none' expected-action='none'>Simple div with touch-action: none</
div> | 10 <div class='ta-none' expected-action='none'>Simple div with touch-action: none</
div> |
| 11 | 11 |
| 12 <div class='ta-none' style='height: 0; margin-bottom: 50px'> | 12 <div class='ta-none' style='height: 0; margin-bottom: 50px'> |
| 13 <div expected-action='none'> | 13 <div expected-action='none'> |
| 14 Touch-action: none is propagated to descendants | 14 Touch-action: none is propagated to descendants |
| 15 </div> | 15 </div> |
| 16 </div> | 16 </div> |
| 17 | 17 |
| 18 <div class='ta-none' style='height: 0; margin-bottom: 50px'> | 18 <div class='ta-none' style='height: 0; margin-bottom: 50px'> |
| 19 <div class='ta-auto' expected-action='none'> | 19 <div class='ta-auto' expected-action='none'> |
| 20 Explicitly setting touch-action: auto does nothing to prevent propagation of
none | 20 Explicitly setting touch-action: auto does nothing to prevent propagation of
none |
| 21 </div> | 21 </div> |
| 22 </div> | 22 </div> |
| 23 | 23 |
| 24 <div class='ta-none' style='height: 0; margin-bottom: 50px'> | 24 <div class='ta-none' style='height: 0; margin-bottom: 50px'> |
| 25 <span expected-action='none' style='display:inline-block'> | 25 <span expected-action='none' style='display:inline-block, margin:0'> |
| 26 touch-action should be inherited by inline-block elements | 26 touch-action should be inherited by inline-block elements |
| 27 </span> | 27 </span> |
| 28 </div> | 28 </div> |
| 29 | 29 |
| 30 <div class='ta-none' style='height: 0; margin-bottom: 50px'> | 30 <div class='ta-none' style='height: 0; margin-bottom: 50px'> |
| 31 <span expected-action='none' style='display:table-cell'> | 31 <span expected-action='none' style='display:table-cell'> |
| 32 touch-action should be inherited by table-cell elements | 32 touch-action should be inherited by table-cell elements |
| 33 </span> | 33 </span> |
| 34 </div> | 34 </div> |
| 35 | 35 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 <table style='margin-left: 15px; margin-bottom: 50px'> | 74 <table style='margin-left: 15px; margin-bottom: 50px'> |
| 75 <tr class='ta-none'> <td expected-action='auto'>Test Cell</td> </tr> | 75 <tr class='ta-none'> <td expected-action='auto'>Test Cell</td> </tr> |
| 76 </table> | 76 </table> |
| 77 | 77 |
| 78 <table style='margin-left: 15px'> | 78 <table style='margin-left: 15px'> |
| 79 <colgroup> | 79 <colgroup> |
| 80 <col class='ta-none'> | 80 <col class='ta-none'> |
| 81 </colgroup> | 81 </colgroup> |
| 82 <tr> <td expected-action='auto'>Test Cell</td> </tr> | 82 <tr> <td expected-action='auto'>Test Cell</td> </tr> |
| 83 </table> | 83 </table> |
| OLD | NEW |