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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/box-shadow-inset-repaint.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style type="text/css" media="screen"> 4 <style type="text/css" media="screen">
5 div#container { 5 div#container {
6 padding: 15px; 6 padding: 15px;
7 box-shadow: inset cyan 0 -60px 0 0; 7 box-shadow: inset cyan 0 -60px 0 0;
8 } 8 }
9 </style> 9 </style>
10 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 10 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
11 <script type="text/javascript"> 11 <script type="text/javascript">
12 function repaintTest() 12 function repaintTest()
13 { 13 {
14 document.getElementById('container').innerHTML = "<div style='width:100p x; height:100px; background-color:green'></div>"; 14 document.getElementById('container').innerHTML = "<div style='width:100p x; height:100px; background-color:green'></div>";
15 } 15 }
16 </script> 16 </script>
17 </head> 17 </head>
18 <body onload="runRepaintTest()"> 18 <body onload="runRepaintAndPixelTest()">
19 <div id="container" style="width:200px;"></div> 19 <div id="container" style="width:200px;"></div>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698