Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: LayoutTests/compositing/squashing/no-squashing-for-scroll-blocks-on.html

Issue 784453003: Initial scroll-blocks-on compositor integration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Eliminate scrollbars from iframe test for cross-platform output consistency Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/squashing/no-squashing-for-scroll-blocks-on.html
diff --git a/LayoutTests/compositing/squashing/no-squashing-for-filters.html b/LayoutTests/compositing/squashing/no-squashing-for-scroll-blocks-on.html
similarity index 76%
copy from LayoutTests/compositing/squashing/no-squashing-for-filters.html
copy to LayoutTests/compositing/squashing/no-squashing-for-scroll-blocks-on.html
index d775fa5790d75b41d46a34ead0a73e054b1a3fe5..134208bfa299f93a6eca0fb1ffd13301aa5ede20 100644
--- a/LayoutTests/compositing/squashing/no-squashing-for-filters.html
+++ b/LayoutTests/compositing/squashing/no-squashing-for-scroll-blocks-on.html
@@ -5,15 +5,15 @@
}
</style>
<div style="width: 100px; height: 100px; transform: translateZ(0); background: lightblue"></div>
-<div class="trysquashed" style="position: absolute; top: 0px; left: 0px; -webkit-filter: drop-shadow(1px 1px 2px #000)"></div>
+<div class="trysquashed" style="position: absolute; top: 0px; left: 0px; scroll-blocks-on: scroll-event;"></div>
<div class="trysquashed" style="position: absolute; top: 50px; left: 50px;"></div>
<pre id="layers"></pre>
<script>
-// Tests that layers with filters are not squashed.
+// Tests that layers with scroll-blocks-on are not squashed.
if (window.testRunner)
window.testRunner.dumpAsText();
var layersResult = document.getElementById('layers');
if (window.internals)
- layersResult.innerText = window.internals.layerTreeAsText(document);
-</script>
+ layersResult.innerText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON);
+</script>

Powered by Google App Engine
This is Rietveld 408576698