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

Side by Side Diff: LayoutTests/fast/repaint/crbug-371640.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('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 { float: left; }
27 .inner {
28 float: left ;
29 height: 100px;
30 position: relative;
31 width: 260px;
32 }
33 .abs_pos { position: absolute; }
34 #container { float: right; }
35 .item {
36 visibility: visible;
37 background-color: green;
38 width: 100px;
39 height: 100px;
40 }
41 #node .item { background-color: red; }
42 </style>
43
44 <p>This is a reduction for http://crbug.com/371640.</p>
45 <p>If the test worked correctly you should see 1 green square and no red square. </p>
46
47 <div id='wrapper'>
48 <div id='container'>
49 <div id='keep_outer' class="outer">
50 <div id='keep_inner' class="inner">
51 <div class="abs_pos">
52 <div id='keep' class="item">&nbsp;</div>
53 </div>
54 </div>
55 </div>
56
57 <div id='node' class="outer">
58 <div id='to_remove_inner' class="inner">
59 <div id='to_remove' class="item">&nbsp;</div>
60 </div>
61 </div>
62 </div>
63 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/crbug-371640-2.html » ('j') | LayoutTests/fast/repaint/crbug-371640-3.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698