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

Side by Side Diff: LayoutTests/paint/invalidation/composited-non-stacking-context-descendant-move.html

Issue 1306993005: Paint invalidation tests of composited-non-stacking-context descendant (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 <style>
3 body {
4 margin: 0;
5 }
6
7 #indicator {
8 position: absolute;
9 top: 200px;
10 width: 100px;
11 height: 100px;
12 background-color: red;
13 }
14
15 #block {
16 position: relative;
17 width: 100px;
18 height: 100px;
19 top: 100px;
20 background-color: green;
21 }
22
23 #composited-non-stacking-context {
24 width: 20px;
25 height: 20px;
26 background-color: white;
27 backface-visibility: hidden;
28 }
29 </style>
30 <div id="indicator"></div>
31 <div id="composited-non-stacking-context">
32 <div id="block"></div>
33 </div>
34 This test passes if there is a green square without red.
35 <script src="../../resources/run-after-layout-and-paint.js"></script>
36 <script>
37 runAfterLayoutAndPaint(function() {
38 document.getElementById("block").style.top = "200px";
39 }, true);
40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698