| Index: LayoutTests/compositing/layer-creation/scroll-blocks-on-script.html
|
| diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-script.html b/LayoutTests/compositing/layer-creation/scroll-blocks-on-script.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..41fab4a9b053209ff38a7489fa63852c07ed04b4
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-script.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +#target {
|
| + width: 20px;
|
| + height: 20px;
|
| +}
|
| +</style>
|
| +<div id="target"></div>
|
| +<script>
|
| + onload = function() {
|
| + target.style.scrollBlocksOn = 'scroll-event';
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + var output = "Verify that setting scroll-blocks-on from script immediately creates the necessary layer.\n\n";
|
| + output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON);
|
| + testRunner.setCustomTextOutput(output);
|
| + }
|
| + };
|
| +</script>
|
|
|