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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/reflection-invalidation-positioned-child.html

Issue 1934833002: Ensure filter and reflection outsets are applied on paint invalidation rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
5 }
6 #box {
7 width: 100px;
8 height: 100px;
9 background-color: green;
10 -webkit-box-reflect: below;
11 }
12 #box-check {
13 margin-top: 20px;
14 width: 100px;
15 height: 100px;
16 background-color: red;
17 }
18 #positioned {
19 position: absolute;
20 top: 10px;
21 left: 400px;
22 width: 50px;
23 height: 50px;
24 background-color: blue;
25 }
26 #positioned-check {
27 position: absolute;
28 top: 160px;
29 left: 400px;
30 width: 50px;
31 height: 50px;
32 background-color: red;
33 z-index: -1;
34 }
35 </style>
36 <!--
37 Tests paint invalidation of positioned object when it's ancestor changes reflect ion.
chrishtr 2016/05/03 19:17:57 Nit: s/it's/its/
Xianzhu 2016/05/03 19:53:40 Done.
38 Passes if there is no red.
39 -->
40 <div id="box">
41 <div id="positioned"></div>
42 </div>
43 <div id="box-check">
44 <div id="positioned-check"></div>
45 </div>
46 <script src="resources/text-based-repaint.js"></script>
47 <script>
48 function repaintTest() {
49 box.style.webkitBoxReflect = 'below 20px';
50 }
51 runRepaintTest();
52 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698