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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position.html

Issue 1490063002: Implement Paint Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge Created 5 years 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 div {
4 width: 100px;
5 height: 50px;
6 }
7 .container {
8 contain: paint;
9 background-color: green;
10 }
11 .absolute {
12 position: absolute;
13 top: 0px;
14 left: 100px;
15 background-color: red;
16 }
17 .inline {
18 display: inline-block;
19 }
20 </style>
21 <body>
22 <div class="container"><div class="absolute"></div></div>
23 <div class="container inline"><div class="absolute"></div></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698