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

Side by Side Diff: LayoutTests/paint/invalidation/composited-non-stacking-context-descendant-change-color.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, 3 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 #block {
4 position: relative;
5 width: 100px;
6 height: 100px;
7 top: 50px;
8 background-color: red;
9 }
10
11 #composited-non-stacking-context {
12 width: 20px;
13 height: 20px;
14 background-color: white;
15 backface-visibility: hidden;
16 }
17 </style>
18 This test passes if there is a green square without red.
19 <div id="composited-non-stacking-context">
20 <div id="block"></div>
21 </div>
22 <script src="../../resources/run-after-layout-and-paint.js"></script>
23 <script>
24 runAfterLayoutAndPaint(function() {
25 document.getElementById("block").style.backgroundColor = "green";
26 }, true);
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698