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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/position-change-keeping-geometry-expected.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
5 }
6 div {
7 width: 100px;
8 height: 100px;
9 top: 20px;
10 background-color: blue;
11 }
12 #target0 {
13 left: 20px;
14 position: relative;
15 }
16 #target1 {
17 left: 20px;
18 position: absolute;
19 }
20 #target2 {
21 left: 220px;
22 position: absolute;
23 z-index: 0;
24 }
25 #target3 {
26 left: 420px;
27 position: fixed;
28 z-index: 0;
29 }
30 </style>
31 There should be no invalildations on change of position without actual change of position and size.
32 <!-- target0 ensures we don't strip anonymous wrappers (and trigger a layout) wh en the other elements change position. -->
33 <div id="target0"></div>
34 <div id="target1"></div>
35 <div id="target2"></div>
36 <div id="target3"></div>
37 <script>
38 target1.style.top = target0.offsetTop + target0.offsetHeight + 'px';
39 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698