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

Side by Side Diff: LayoutTests/fast/repaint/crbug-371640-4.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 <style>
21 #wrapper {
22 visibility: hidden;
23 position: absolute;
24 width: 600px;
25 }
26 .outer {
27 display: inline;
28 position: relative;
29 float: right;
30 width: 100px;
31 height: 100px;
32 margin-right: 100px;
33 }
34 .inner {
35 float: left;
36 height: 100px;
37 position: relative;
38 width: 100px;
39 }
40 .abs_pos { position: absolute; }
41 #container { float: right; width: 500px}
42 .item {
43 visibility: visible;
44 background-color: green;
45 width: 100px;
46 height: 100px;
47 }
48 #node .item { background-color: red; }
49 </style>
50
51 <p>This is a reduction for http://crbug.com/371640.</p>
52 <p>The test PASSES if you see 1 green square and no red square.</p>
53
54 <div id='wrapper'>
55 <div id='container'>
56 <div id='node' class="outer">
57 <div id='to_remove_inner' class="inner">
58 <div id='to_remove' class="item">&nbsp;</div>
59 </div>
60 </div>
61 <div id='keep_outer' class="outer">
62 <div class='abs_pos'>
63 <div id='keep_inner' class="inner">
64 <div id='keep' class="item">&nbsp;</div>
65 </div>
66 </div>
67 </div>
68 </div>
69 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/crbug-371640-3-expected.txt ('k') | LayoutTests/fast/repaint/crbug-371640-4-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698