| Index: LayoutTests/compositing/layer-creation/scroll-blocks-on-document.html
|
| diff --git a/LayoutTests/compositing/layer-creation/scroll-blocks-on-document.html b/LayoutTests/compositing/layer-creation/scroll-blocks-on-document.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5292549d84aee0f23924610f3af1ad70ba9b2bcc
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/layer-creation/scroll-blocks-on-document.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +html {
|
| + scroll-blocks-on: scroll-event;
|
| +}
|
| +</style>
|
| +<script>
|
| + if (window.testRunner) {
|
| + window.testRunner.dumpAsText();
|
| + }
|
| +
|
| + onload = function() {
|
| + var output = document.getElementById('output');
|
| + if (window.internals)
|
| + document.getElementById('output').innerText += window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON);
|
| + };
|
| +</script>
|
| +Verify that scroll-blocks-on on the documentElement is propagated to the viewport without creating any additional layers.
|
| +<pre id="output"></pre>
|
|
|