| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 #redundant { | |
| 4 height: 1px; | |
| 5 scroll-blocks-on: wheel-event; | |
| 6 } | |
| 7 #addScroll { | |
| 8 height: 2px; | |
| 9 scroll-blocks-on: start-touch scroll-event; | |
| 10 } | |
| 11 #none { | |
| 12 height: 3px; | |
| 13 scroll-blocks-on: none; | |
| 14 } | |
| 15 </style> | |
| 16 <div id=redundant></div> | |
| 17 <div id=addScroll></div> | |
| 18 <div id=none></div> | |
| 19 <script> | |
| 20 if (window.testRunner) { | |
| 21 testRunner.dumpAsText(); | |
| 22 var output = "Verifies that setting the scroll-blocks-on property in a s
tylesheet creates layers with the correct modes only when it's greater than the
defaults on the root. In this case, only 'addScroll' should get a layer.\n\n"; | |
| 23 output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLU
DES_SCROLL_BLOCKS_ON); | |
| 24 testRunner.setCustomTextOutput(output); | |
| 25 } | |
| 26 </script> | |
| OLD | NEW |