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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/replaced-clipped-positioned-not-wrong-incremental-repainting-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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #shiftMe { 5 #shiftMe {
6 position: relative; 6 position: relative;
7 left: -100px; 7 left: -20px;
8 } 8 }
9 9
10 .container { 10 .container {
11 overflow: hidden; 11 overflow: hidden;
12 } 12 }
13 13
14 .imgContainer { 14 .imgContainer {
15 position: relative; 15 position: relative;
16 float: left; 16 float: left;
17 } 17 }
18 </style> 18 </style>
19 </head> 19 </head>
20 <body> 20 <body>
21 <div class="container"> 21 <div class="container">
22 <div id="shiftMe"> 22 <div id="shiftMe">
23 <div class="imgContainer"> 23 <div class="imgContainer">
24 <img src="resources/apple.jpg"> 24 <img src="resources/apple.jpg">
25 </div> 25 </div>
26 </div> 26 </div>
27 </div> 27 </div>
28 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
29 <script>
30 function repaintTest()
31 {
32 document.getElementById("shiftMe").style.left = "-20px";
33 }
34
35 window.addEventListener("load", runRepaintTest, false);
36 </script>
37 </body> 28 </body>
38 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698