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

Side by Side Diff: LayoutTests/compositing/squashing/no-squashing-for-filters.html

Issue 547493002: Don't squash layers that have filters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests. Created 6 years, 3 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .trysquashed {
4 width: 50px; height: 50px; background: lightgray
5 }
6 </style>
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>
9 <div class="trysquashed" style="position: absolute; top: 50px; left: 50px;"></di v>
10
11 <pre id="layers"></pre>
12 <script>
13 // Tests that layers with filters are not squashed.
14 if (window.testRunner)
15 window.testRunner.dumpAsText();
16 var layersResult = document.getElementById('layers');
17 if (window.internals)
18 layersResult.innerText = window.internals.layerTreeAsText(document);
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698