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

Side by Side Diff: LayoutTests/fast/repaint/filter-repaint-accelerated-on-accelerated-filter.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 accelerated"> 25 <div class="blur accelerated">
26 <div class="drop-shadow accelerated" id="resize"></div> 26 <div class="drop-shadow accelerated" id="resize"></div>
27 </div> 27 </div>
28 28
29 <script src="resources/text-based-repaint.js"></script> 29 <script src="resources/text-based-repaint.js"></script>
30 <script src="../../resources/run-after-display.js"></script> 30 <script src="../../resources/run-after-display.js"></script>
31 <script> 31 <script>
32 window.testIsAsync = true; 32 window.testIsAsync = true;
33 33
34 function repaintTest() { 34 function repaintTest() {
35 var resizeElement = document.getElementById("resize"); 35 var resizeElement = document.getElementById("resize");
36 resizeElement.style.width = "100px"; 36 resizeElement.style.width = "100px";
37 finishRepaintTest(); 37 finishRepaintTest();
38 } 38 }
39 window.onload = runRepaintTest; 39 window.onload = runRepaintTest;
40 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698