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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint-child-layers.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 This tests verifies that blur is repainted using the full source image of th e element instead of just the dirty area. 3 This tests verifies that blur is repainted using the full source image of th e element instead of just the dirty area.
4 Also it tests that the filter area includes all the child RenderLayers and a pplies the children's transforms correctly. 4 Also it tests that the filter area includes all the child RenderLayers and a pplies the children's transforms correctly.
5 You should see three green rectangles slightly rotated and blured. There sho uld be no red. 5 You should see three green rectangles slightly rotated and blured. There sho uld be no red.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <style> 9 <style>
10 .box { 10 .box {
11 position: relative; 11 position: relative;
12 margin: 10px; 12 margin: 10px;
13 height: 50px; 13 height: 50px;
14 width: 50px; 14 width: 50px;
15 background-color: green; 15 background-color: green;
16 z-index: 1; 16 z-index: 1;
17 -webkit-transform: translate(50px, 0px) rotate(20deg); 17 transform: translate(50px, 0px) rotate(20deg);
18 } 18 }
19 19
20 .before { 20 .before {
21 background-color: red; 21 background-color: red;
22 } 22 }
23 23
24 .blur { 24 .blur {
25 background: red; 25 background: red;
26 margin: 50px; 26 margin: 50px;
27 -webkit-filter: blur(5px); 27 -webkit-filter: blur(5px);
(...skipping 24 matching lines...) Expand all
52 <body onload="repaintTest()"> 52 <body onload="repaintTest()">
53 53
54 <div class="blur"> 54 <div class="blur">
55 <div class="box"></div> 55 <div class="box"></div>
56 <div class="box before"></div> 56 <div class="box before"></div>
57 <div class="box"></div> 57 <div class="box"></div>
58 </div> 58 </div>
59 59
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698