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

Side by Side Diff: LayoutTests/compositing/squashing/squashing-inside-perspective.html

Issue 497153003: Fix squashing to treat perspective and preserve3d elements as transform ancestors. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed. Created 6 years, 4 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
3 <div style="z-index: 1; position: absolute"></div>
4 <div style="z-index: 0; perspective: 1000px; position: absolute;">
5 <div style="position: absolute; width: 200px; height: 200px; background-colo r: darkBlue; transform: translate3d(0px, 74px, 200px);">
6 </div>
7 </div>
8 <script>
9 // Tests that a squashed layer that is the child of an element with perspective on it uses that element as its transform ancestor.
10
11 if (window.internals)
12 internals.settings.setLayerSquashingEnabled(true);
13 if (window.testRunner) {
14 testRunner.dumpAsText();
15 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document));
16 }
17 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/compositing/squashing/squashing-inside-perspective-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698