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

Side by Side Diff: LayoutTests/fast/repaint/abspos-shift-image-incorrect-repaint.html

Issue 202433003: Fix NeedsFullRepaintForPositionedMovementLayout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added some more rebaseline Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
3 <head>
4 <style>
5 .imageWrapper
6 {
7 position: relative;
8 display: inline-block;
9 width: 700px;
10 }
11
12 #shiftMe
13 {
14 position: absolute;
15 top: 0px;
16 left: 0px;
17 width: 1500px;
18 }
19 </style>
20 <script src="resources/text-based-repaint.js"></script>
21 <script>
22 function repaintTest()
23 {
24 shiftMe.style.left = "-250px";
25 }
26 </script>
27 </head>
28 <body onload="runRepaintTest();">
29 <div>This test checks that shifting an abspos container will properly repain t its descendants.</div>
30 <div>The images below should be correctly repainted.</div>
31 <div id="shiftMe">
32 <div class="imageWrapper">
33 <img src="resources/apple.jpg">
34 </div>
35 <div class="imageWrapper">
36 <img src="resources/apple.jpg">
37 </div>
38 </div>
39 </body>
40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/abspos-shift-image-incorrect-repaint-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698