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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/filter-repaint-on-accelerated-layer-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
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 .accelerated { 12 .accelerated {
13 transform: translateZ(0); 13 transform: translateZ(0);
14 } 14 }
15 15
16 #resize { 16 #resize {
17 background-color: green; 17 background-color: green;
18 width: 100px;
18 } 19 }
19 </style> 20 </style>
20 21
21 <div class="blur"> 22 <div class="blur">
22 <div class="accelerated" id="resize"></div> 23 <div class="accelerated" id="resize"></div>
23 </div> 24 </div>
24
25 <script src="resources/text-based-repaint.js"></script>
26 <script>
27 function repaintTest() {
28 var resizeElement = document.getElementById("resize");
29 resizeElement.style.width = "100px";
30 }
31 window.onload = runRepaintTest;
32 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698