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

Side by Side Diff: LayoutTests/compositing/geometry/clip-with-shadow.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- Test CSS clip and shadow with composited layers. Left and right sides 3 <!-- Test CSS clip and shadow with composited layers. Left and right sides
4 should have the same shape. In old code where this caused a bug, 4 should have the same shape. In old code where this caused a bug,
5 crbug.com/246728, shadows cause a slightly different code path than 5 crbug.com/246728, shadows cause a slightly different code path than
6 clip.html without shadow. In this test, the clip is still larger than the 6 clip.html without shadow. In this test, the clip is still larger than the
7 shadow's extent; The composited layer should not clamp to the shadow's 7 shadow's extent; The composited layer should not clamp to the shadow's
8 extent (1 pixel), it should include the full extent of the clip as well (5 8 extent (1 pixel), it should include the full extent of the clip as well (5
9 pixels). --> 9 pixels). -->
10 10
(...skipping 15 matching lines...) Expand all
26 .inner { 26 .inner {
27 position: relative; 27 position: relative;
28 width: 120px; 28 width: 120px;
29 height: 120px; 29 height: 120px;
30 top: -10px; 30 top: -10px;
31 left: -10px; 31 left: -10px;
32 background-color: rgba(0, 0, 0, 0.2); 32 background-color: rgba(0, 0, 0, 0.2);
33 } 33 }
34 34
35 .composited { 35 .composited {
36 -webkit-transform: translateZ(1px); 36 transform: translateZ(1px);
37 } 37 }
38 38
39 p { 39 p {
40 margin-top: 140px; 40 margin-top: 140px;
41 } 41 }
42 </style> 42 </style>
43 <script type="text/javascript" charset="utf-8"> 43 <script type="text/javascript" charset="utf-8">
44 if (window.testRunner) { 44 if (window.testRunner) {
45 testRunner.dumpAsText(); 45 testRunner.dumpAsText();
46 testRunner.waitUntilDone(); 46 testRunner.waitUntilDone();
(...skipping 18 matching lines...) Expand all
65 <div class="box" style="left: 220px;"> 65 <div class="box" style="left: 220px;">
66 <div class="composited inner"> 66 <div class="composited inner">
67 </div> 67 </div>
68 </div> 68 </div>
69 69
70 <pre id="layers"> 70 <pre id="layers">
71 <!-- In DRT, layer tree goes here. --> 71 <!-- In DRT, layer tree goes here. -->
72 </pre> 72 </pre>
73 </body> 73 </body>
74 </html> 74 </html>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/geometry/clip-inside.html ('k') | LayoutTests/compositing/geometry/clipping-foreground.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698