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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/border-radius-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 PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en"> 3 <html lang="en">
4 <head> 4 <head>
5 <style type="text/css"> 5 <style type="text/css">
6 div.test { vertical-align: top; width: 200px; height: 120px; border: 1px sol id blue; padding: 10px; } 6 div.test { vertical-align: top; width: 200px; height: 120px; border: 1px sol id blue; padding: 10px; }
7 </style> 7 </style>
8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function repaintTest() 10 function repaintTest()
11 { 11 {
12 document.getElementById('a').style.height = '40px'; 12 document.getElementById('a').style.height = '40px';
13 document.getElementById('b').style.height = '60px'; 13 document.getElementById('b').style.height = '60px';
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="runRepaintTest();"> 17 <body onload="runRepaintAndPixelTest();">
18 <p> 18 <p>
19 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=10699">h ttp://bugs.webkit.org/show_bug.cgi?id=10699</a> 19 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=10699">h ttp://bugs.webkit.org/show_bug.cgi?id=10699</a>
20 div with border-radius does not redraw properly if element inside div is res ized</i>. 20 div with border-radius does not redraw properly if element inside div is res ized</i>.
21 </p> 21 </p>
22 <div class="test"> 22 <div class="test">
23 <div style="background: teal; padding: 0; border: solid red 4px; -webkit-bor der-radius: 12px;"> 23 <div style="background: teal; padding: 0; border: solid red 4px; -webkit-bor der-radius: 12px;">
24 <div id="a" style="height: 60px; margin: 10px; background:silver;"></div > 24 <div id="a" style="height: 60px; margin: 10px; background:silver;"></div >
25 </div> 25 </div>
26 </div> 26 </div>
27 <br> 27 <br>
28 <div class="test"> 28 <div class="test">
29 <div style="background: teal; padding: 0; border: solid red 4px; -webkit-bor der-radius: 12px;"> 29 <div style="background: teal; padding: 0; border: solid red 4px; -webkit-bor der-radius: 12px;">
30 <div id="b" style="height: 40px; margin: 10px; background:silver;"></div > 30 <div id="b" style="height: 40px; margin: 10px; background:silver;"></div >
31 </div> 31 </div>
32 </div> 32 </div>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698