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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/button-inner-no-repaint.html

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() { 4 function repaintTest() {
5 document.getElementsByTagName('button')[0].style.maxWidth = '1000px'; 5 document.getElementsByTagName('button')[0].style.maxWidth = '1000px';
6 } 6 }
7 onload = runRepaintTest; 7 onload = runRepaintTest;
8 </script> 8 </script>
9 <style> 9 <style>
10 button { 10 button {
11 position: absolute; 11 position: absolute;
12 width: 300px; 12 width: 300px;
13 height: 100px; 13 height: 100px;
14 } 14 }
15 </style> 15 </style>
16 <button>Should not repaint on style change that doesn't change visual.</button> 16 <button>Should not repaint on style change that doesn't change visual.</button>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698