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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned-expected.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 <body>
5 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
6 <script type="text/javascript">
7 function repaintTest()
8 {
9 document.getElementById('a').style.position='relative';
10 document.getElementById('t').style.position='absolute';
11 }
12 </script>
13 </head>
14 <body onload="runRepaintTest();">
15 <p> 5 <p>
16 Repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=933 4">http://bugzilla.opendarwin.org/show_bug.cgi?id=9334</a> 6 Repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=933 4">http://bugzilla.opendarwin.org/show_bug.cgi?id=9334</a>
17 Incomplete repaint when changing block from non-positioned to positioned </i>. 7 Incomplete repaint when changing block from non-positioned to positioned </i>.
18 </p> 8 </p>
19 <hr> 9 <hr>
20 <div style="position: relative; height: 200px;"> 10 <div style="position: relative; height: 200px;">
21 <div id="a" style="width: 100px; height: 100px; background: blue; top: 5 0px; "></div> 11 <div id="a" style="position: relative; width: 100px; height: 100px; back ground: blue; top: 50px; "></div>
22 </div> 12 </div>
23 <div style="position: relative; height: 150px; padding-top: 50px;"> 13 <div style="position: relative; height: 150px; padding-top: 50px;">
24 <div style="height: 150px;"> 14 <div style="height: 150px;">
25 <div id="t" style="width: 100px; height: 100px; background: blue; to p: 0;"></div> 15 <div id="t" style="position: absolute; width: 100px; height: 100px; background: blue; top: 0;"></div>
26 </div> 16 </div>
27 </div> 17 </div>
28 </body> 18 </body>
29 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698