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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/invisible-objects.html

Issue 1994373002: Convert some repaint tests into ref tests (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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/text-based-repaint.js"></script>
4 <script> 4 <script>
5 function repaintTest() 5 function repaintTest()
6 { 6 {
7 document.getElementById("block").style.height = "100px"; 7 document.getElementById("block").style.height = "100px";
8 document.getElementById("inline").innerText = "is invisible"; 8 document.getElementById("inline").innerText = "is invisible";
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body onload="runRepaintTest()"> 12 <body onload="runRepaintAndPixelTest()">
13 <div style="visibility: hidden; position: relative;"> 13 <div style="visibility: hidden; position: relative;">
14 <span id="inline">Invisible text</span> 14 <span id="inline">Invisible text</span>
15 </div> 15 </div>
16 <div style="visibility: hidden; position: relative;"> 16 <div style="visibility: hidden; position: relative;">
17 <div id="block" style="height: 50px;"></div> 17 <div id="block" style="height: 50px;"></div>
18 </div> 18 </div>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698