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

Side by Side Diff: LayoutTests/fast/repaint/filter-repaint-accelerated-child-with-filter-child.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 <style> 2 <style>
3 div { 3 div {
4 width: 200px; 4 width: 200px;
5 height: 200px; 5 height: 200px;
6 } 6 }
7 7
8 .blur { 8 .blur {
9 -webkit-filter: blur(10px); 9 -webkit-filter: blur(10px);
10 } 10 }
11 11
12 .drop-shadow { 12 .drop-shadow {
13 -webkit-filter: drop-shadow(16px 16px 10px black); 13 -webkit-filter: drop-shadow(16px 16px 10px black);
14 } 14 }
15 15
16 .accelerated { 16 .accelerated {
17 -webkit-transform: translateZ(0); 17 transform: translateZ(0);
18 } 18 }
19 19
20 #resize { 20 #resize {
21 background-color: green; 21 background-color: green;
22 } 22 }
23 </style> 23 </style>
24 24
25 <div class="blur"> 25 <div class="blur">
26 <div class="accelerated"> 26 <div class="accelerated">
27 <div class="drop-shadow" id="resize"></div> 27 <div class="drop-shadow" id="resize"></div>
28 </div> 28 </div>
29 </div> 29 </div>
30 30
31 <script src="resources/text-based-repaint.js"></script> 31 <script src="resources/text-based-repaint.js"></script>
32 <script src="../../resources/run-after-display.js"></script> 32 <script src="../../resources/run-after-display.js"></script>
33 <script> 33 <script>
34 34
35 function repaintTest() { 35 function repaintTest() {
36 var resizeElement = document.getElementById("resize"); 36 var resizeElement = document.getElementById("resize");
37 resizeElement.style.width = "100px"; 37 resizeElement.style.width = "100px";
38 } 38 }
39 window.onload = runRepaintTest; 39 window.onload = runRepaintTest;
40 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698