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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html

Issue 1988313004: Test pixel results for repaint tests testing selection, etc. (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/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.getElementById('button').click(); 6 document.getElementById('button').click();
7 document.getElementById('checkbox').click(); 7 document.getElementById('checkbox').click();
8 } 8 }
9 window.onload = runRepaintTest; 9 window.onload = runRepaintAndPixelTest;
10 </script> 10 </script>
11 <style> 11 <style>
12 #button { 12 #button {
13 width: 100px; 13 width: 100px;
14 height: 50px; 14 height: 50px;
15 } 15 }
16 #checkbox { 16 #checkbox {
17 width: 30px; 17 width: 30px;
18 height: 30px; 18 height: 30px;
19 } 19 }
20 </style> 20 </style>
21 <button id="button">Button</button><br> 21 <button id="button">Button</button><br>
22 <input id="checkbox" type="checkbox"> 22 <input id="checkbox" type="checkbox">
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698