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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/filter-repaint-accelerated-child-with-filter-child.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
(Empty)
1 <!-- Based on fast/repaint/filter-repaint-accelerated-child-with-filter-child.ht ml -->
2 <!DOCTYPE html>
3 <style>
4 div {
5 width: 200px;
6 height: 200px;
7 }
8
9 .blur {
10 -webkit-filter: blur(10px);
11 }
12
13 .drop-shadow {
14 -webkit-filter: drop-shadow(16px 16px 10px black);
15 }
16
17 .accelerated {
18 transform: translateZ(0);
19 }
20
21 #resize {
22 background-color: green;
23 }
24 </style>
25
26 <div class="blur">
27 <div class="accelerated">
28 <div class="drop-shadow" id="resize"></div>
29 </div>
30 </div>
31
32 <script src="resources/paint-invalidation-test.js"></script>
33 <script>
34
35 function paintInvalidationTest() {
36 var resizeElement = document.getElementById("resize");
37 resizeElement.style.width = "100px";
38 }
39 window.onload = runPaintInvalidationTest;
40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698