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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/button-inner-no-repaint.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
1 <!-- Based on fast/repaint/button-inner-no-repaint.html --> 1 <!-- Based on fast/repaint/button-inner-no-repaint.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() { 5 function paintInvalidationTest() {
8 document.getElementsByTagName('button')[0].style.maxWidth = '1000px'; 6 document.getElementsByTagName('button')[0].style.maxWidth = '1000px';
9 } 7 }
10 onload = runPaintInvalidationTest; 8 onload = runPaintInvalidationTest;
11 </script> 9 </script>
12 <style> 10 <style>
13 button { 11 button {
14 position: absolute; 12 position: absolute;
15 width: 300px; 13 width: 300px;
16 height: 100px; 14 height: 100px;
17 } 15 }
18 </style> 16 </style>
19 <button>Should not repaint on style change that doesn't change visual.</button> 17 <button>Should not repaint on style change that doesn't change visual.</button>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698