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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-mutation-invalidates-layout.html

Issue 2072473003: Change CSS containment should invalidate layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: correct LayoutObject::canContainAbsolutePositionObjects 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 #container {
4 width: 100px;
5 height: 100px;
6 }
7
8 #child {
9 position: fixed;
10 right: 0;
11 bottom: 0;
12 width: 100px;
13 height: 100px;
14 background: green;
15 }
16 </style>
17 <div id="container">
18 <div id="child">
19 </div>
20 </div>
21 This test verifies changing CSS containment correctly invalidates layout.
22 <script>
23 var container = document.getElementById("container");
24 container.offsetTop; // forces layout
25 container.style.contain = "paint";
26 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-mutation-invalidates-layout-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698