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

Side by Side Diff: LayoutTests/compositing/backing/no-backing-for-perspective.html

Issue 708213002: Remove the HasOwnBackingButPaintsIntoAncestor compositing state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed more tests. Created 6 years, 1 month 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 <html>
4 <head>
5 <style type="text/css" media="screen">
6 .box {
7 position: relative;
8 height: 100px;
9 width: 100px;
10 margin: 10px;
11 left: 0;
12 top: 0;
13 background-color: silver;
14 }
15
16 .perspective {
17 width: 300px;
18 border: 1px solid black;
19 padding: 20px;
20 -webkit-perspective: 500px;
21 }
22
23 .composited {
24 transform: translateZ(1px);
25 }
26 </style>
27
28 <script>
29 if (window.testRunner)
30 testRunner.dumpAsText();
31
32 function dumpLayers()
33 {
34 var layersResult = document.getElementById('layers');
35 if (window.testRunner)
36 layersResult.innerText = window.internals.layerTreeAsText(document);
37
38 }
39 window.addEventListener('load', dumpLayers, false)
40 </script>
41
42 </head>
43 <body>
44
45 <div class="perspective">
46 This layer should not have backing store.
47 <div class="perspective">
48 This layer should not have backing store.
49 <div class="box composited">
50 </div>
51 </div>
52 </div>
53
54 <pre id="layers">Layer tree goes here in DRT</pre>
55
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698