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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-filter.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 <!-- Based on compositing/repaint/should-not-repaint-composited-filter.html -->
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <style> 3 <style>
3 #composited-box { 4 #composited-box {
4 backface-visibility: hidden; 5 backface-visibility: hidden;
5 width: 100px; 6 width: 100px;
6 height: 100px; 7 height: 100px;
7 background-color: green; 8 background-color: green;
8 -webkit-filter: invert(70%); 9 -webkit-filter: invert(70%);
9 } 10 }
10 </style> 11 </style>
11 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 12 <script src="resources/paint-invalidation-test.js"></script>
12 <script> 13 <script>
13 function repaintTest() { 14 window.expectedPaintInvalidationObjects = [
15 ];
16 function paintInvalidationTest() {
14 document.getElementById('composited-box').style.webkitFilter = 'invert(100%) '; 17 document.getElementById('composited-box').style.webkitFilter = 'invert(100%) ';
15 } 18 }
16 window.onload = runRepaintTest; 19 window.onload = runPaintInvalidationTest;
17 </script> 20 </script>
18 <div id="composited-box"></div> 21 <div id="composited-box"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698