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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/button-inner-no-repaint.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 fast/repaint/button-inner-no-repaint.html -->
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
3 <script> 4 <script>
4 function repaintTest() { 5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() {
5 document.getElementsByTagName('button')[0].style.maxWidth = '1000px'; 8 document.getElementsByTagName('button')[0].style.maxWidth = '1000px';
6 } 9 }
7 onload = runRepaintTest; 10 onload = runPaintInvalidationTest;
8 </script> 11 </script>
9 <style> 12 <style>
10 button { 13 button {
11 position: absolute; 14 position: absolute;
12 width: 300px; 15 width: 300px;
13 height: 100px; 16 height: 100px;
14 } 17 }
15 </style> 18 </style>
16 <button>Should not repaint on style change that doesn't change visual.</button> 19 <button>Should not repaint on style change that doesn't change visual.</button>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698