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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 .trysquashed { 3 .trysquashed {
4 width: 50px; height: 50px; background: lightgray 4 width: 50px; height: 50px; background: lightgray
5 } 5 }
6 </style> 6 </style>
7 <div style="width: 100px; height: 100px; transform: translateZ(0); background: l ightblue"></div> 7 <div style="width: 100px; height: 100px; transform: translateZ(0); background: l ightblue"></div>
8 <div class="trysquashed" style="position: absolute; top: 0px; left: 0px; -webkit -filter: drop-shadow(1px 1px 2px #000)"></div> 8 <div class="trysquashed" style="position: absolute; top: 0px; left: 0px; scroll- blocks-on: scroll-event;"></div>
9 <div class="trysquashed" style="position: absolute; top: 50px; left: 50px;"></di v> 9 <div class="trysquashed" style="position: absolute; top: 50px; left: 50px;"></di v>
10 10
11 <pre id="layers"></pre> 11 <pre id="layers"></pre>
12 <script> 12 <script>
13 // Tests that layers with filters are not squashed. 13 // Tests that layers with scroll-blocks-on are not squashed.
14 if (window.testRunner) 14 if (window.testRunner)
15 window.testRunner.dumpAsText(); 15 window.testRunner.dumpAsText();
16 var layersResult = document.getElementById('layers'); 16 var layersResult = document.getElementById('layers');
17 if (window.internals) 17 if (window.internals)
18 layersResult.innerText = window.internals.layerTreeAsText(document); 18 layersResult.innerText = window.internals.layerTreeAsText(document, internal s.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON);
19 </script> 19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698