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

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

Issue 285103003: [RAL] Make sure RenderLayers are invalidated when moved. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test Expectations Created 6 years, 6 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('node').remove();
11
12 if (window.testRunner) {
13 runAfterDisplay(function() {
14 testRunner.notifyDone();
15 });
16 }
17 }
18 onload = runRepaintTest;
19 </script>
20
21 <style>
22 #wrapper {
23 visibility: hidden;
24 position: absolute;
25 width: 600px;
26 }
27 .outer { float: left; }
28 .inner {
29 float: left;
30 height: 100px;
31 position: relative;
32 width: 260px;
33 }
34 .abs_pos { position: absolute; }
35 #container { float: right; }
36 .item {
37 visibility: visible;
38 background-color: green;
39 width: 100px;
40 height: 100px;
41 }
42 #node .item { background-color: red; }
43 </style>
44
45 <p>This is a reduction for http://crbug.com/371640.</p>
46 <p>The test PASSES if you see 1 green square and no red square.</p>
47
48 <div id='wrapper'>
49 <div id='container'>
50 <div id='keep_outer' class='outer'>
51 <div>
52 <div id='keep_inner' class='inner'>
53 <div class='abs_pos'>
54 <div id='keep' class='item'> </div>
55 </div>
56 </div>
57 </div>
58 </div>
59
60 <div id='node' class='outer'>
61 <div id='to_remove_inner' class='inner'>
62 <div id='to_remove' class='item'> </div>
63 </div>
64 </div>
65 </div>
66 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/crbug-371640.html ('k') | LayoutTests/fast/repaint/crbug-371640-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698