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

Side by Side Diff: LayoutTests/fast/repaint/crbug-371640-3.html

Issue 285103003: [RAL] Make sure RenderLayers are invalidated when moved. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script src="../../resources/run-after-display.js"></script>
4 <script>
5 if (window.testRunner)
6 window.jsTestIsAsync = true;
7
8 function repaintTest()
9 {
10 document.getElementById('remove').style.display='none';
11
12 if (window.testRunner) {
13 runAfterDisplay(function() {
14 testRunner.notifyDone();
15 });
16 }
17 }
18 onload = runRepaintTest;
19 </script>
20 <style>
21 #wrapper {
22 visibility: hidden;
23 position: absolute;
24 width: 600px;
25 float: right;
26 }
27 #container { float: right; }
28 #abs_pos {
29 position: absolute;
30 bottom: 0;
31 }
32 #remove_child,
33 #keep_child {
34 height: 100px;
35 width: 100px;
36 visibility: visible;
37 }
38 #remove_child {
39 background-color: red;
40 position: absolute;
41 }
42 #keep_child { background-color: green; }
43 .outer {
44 float: left;
45 width: 100px;
46 height: 300px;
47 }
48 #keep_inner {
49 position: relative;
50 height: 220px;
51 }
52 p { visibility: visible; }
53 </style>
54
55 <p>This is a reduction for http://crbug.com/371640.</p>
56 <p>If the test worked correctly you should see 1 green square and no red square. </p>
Julien - ping for review 2014/05/27 12:34:53 Let's stick to PASS / FAIL (there is a case to be
dsinclair 2014/05/27 15:37:13 Done.
57
58 <div id='wrapper'>
59 <div id='container'>
60 <div id='keep_outer' class='outer'>
61 <div id='keep_inner'>
62 <div id='abs_pos'>
63 <div id='keep_child'> </div>
64 </div>
65 </div>
66 </div>
67 <div id='remove' class='outer'>
68 <div id='remove_child'> </div>
69 </div>
70 </div>
71 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698