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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/filter-invalidation-after-display-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 .green { 3 .green {
4 background-color: green; 4 background-color: green;
5 } 5 }
6 .box { 6 .box {
7 width: 200px; 7 width: 200px;
8 height: 200px; 8 height: 200px;
9 position: absolute; 9 position: absolute;
10 left: 300px; 10 left: 300px;
11 } 11 }
12 .drop-shadowed { 12 .drop-shadowed {
13 -webkit-filter: drop-shadow(100px 100px 10px red); 13 -webkit-filter: drop-shadow(100px 100px 10px red);
14 } 14 }
15 </style> 15 </style>
16 <!-- 16 <!--
17 This test checks that we correctly invalidate filters when they are removed. 17 This test checks that we correctly invalidate filters when they are removed.
18 There should be no red below. 18 There should be no red below.
19 --> 19 -->
20 <div class="green drop-shadowed box" id="box"></div> 20 <div class="green box" id="box"></div>
21 <script src="resources/text-based-repaint.js"></script>
22 <script>
23 function repaintTest() {
24 var box = document.getElementById('box');
25 box.classList.toggle('drop-shadowed');
26 }
27 window.onload = runRepaintTest;
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698