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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/layoutstate-invalid-invalidation-inline-relative-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> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script src="../../resources/ahem.js"></script> 2 <script src="../../resources/ahem.js"></script>
4 <body onload="runRepaintTest()"> 3 <body>
5 <div style="font-family: Ahem;">This test passes if we correctly repaint the fol lowing relatively positioned inline.</div> 4 <div style="font-family: Ahem;">This test passes if we correctly repaint the fol lowing relatively positioned inline.</div>
6 <span style="position: relative; top: 80px;"> 5 <span style="position: relative; top: 80px;">
7 <span id="target" style="position: relative; top: 80px;"> 6 <span id="target" style="position: relative; top: 100px;">
8 <div style="display: inline-block; width: 100px; height: 100px; overflow : hidden; font-family: Ahem; font-size: 100px; color: green;">x</div> 7 <div style="display: inline-block; width: 100px; height: 100px; overflow : hidden; font-family: Ahem; font-size: 100px; color: green;">x</div>
9 </span> 8 </span>
10 </span> 9 </span>
11 <script>
12 function repaintTest()
13 {
14 document.getElementById("target").style.top = "100px";
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698