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

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

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 div {
4 width: 200px;
5 height: 200px;
6 }
7
8 .blur {
9 -webkit-filter: blur(10px);
10 }
11
12 .drop-shadow {
13 -webkit-filter: drop-shadow(16px 16px 10px black);
14 }
15
16 .accelerated {
17 transform: translateZ(0);
18 }
19
20 #resize {
21 background-color: green;
22 }
23 </style>
24
25 <div class="blur">
26 <div class="accelerated">
27 <div class="drop-shadow" id="resize"></div>
28 </div>
29 </div>
30
31 <script src="resources/text-based-repaint.js"></script>
32 <script>
33
34 function repaintTest() {
35 var resizeElement = document.getElementById("resize");
36 resizeElement.style.width = "100px";
37 }
38 window.onload = runRepaintAndPixelTest;
39 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698