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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/textarea-set-disabled.html

Issue 2560073002: Hopefully deflake some tests, by preloading the Ahem font. (Closed)
Patch Set: Created 4 years 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/ahem.js"></script>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 5 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
5 <script> 6 <script>
6 if (window.testRunner) 7 if (window.testRunner)
7 testRunner.dumpAsTextWithPixelResults(); 8 testRunner.dumpAsTextWithPixelResults();
8 9
9 function repaintTest() 10 function repaintTest()
10 { 11 {
11 document.getElementsByTagName('textarea')[0].disabled = true; 12 document.getElementsByTagName('textarea')[0].disabled = true;
12 } 13 }
13 </script> 14 </script>
14 </head> 15 </head>
15 <body onload="runRepaintAndPixelTest()"> 16 <body onload="runRepaintAndPixelTest()">
16 <form> 17 <form>
17 <textarea style="font: 10px Ahem; width: 100px; height: 100px;"></textarea> 18 <textarea style="font: 10px Ahem; width: 100px; height: 100px;"></textarea>
18 </form> 19 </form>
19 </body> 20 </body>
20 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698