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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/containment/layout-containment-sizing.html

Issue 1530303003: Implement Layout Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/layout-containment-sizing-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .containLayout {
4 contain: strict;
5 background-color: green;
6 }
7 .sized {
8 height: 10px;
9 width: 10px;
10 }
11 .overhangingFloat {
12 float: left;
13 width: 10px;
14 height: 50px;
15 background-color: papayawhip;
16 }
17 .inlineBlock {
18 display: inline-block;
19 }
20 #absolute {
21 position: absolute;
22 left: 200px;
23 top: 100px;
24 width: 10px;
25 }
26 </style>
27
28 <div class="containLayout" data-expected-height=0><div class="sized"></div></div >
29
30 <div class="containLayout sized" data-expected-height=10><div class="overhanging Float"></div></div>
31
32 <div class="testContainer" data=expected-height=0>
33 <div class="containLayout" data-expected-height=0><div class="overhangingFlo at"></div></div>
34 </div>
35
36 <div class="testContainer" data=expected-height=0>
37 <div class="containLayout inlineBlock" data-expected-height=0><div class="ov erhangingFloat"></div></div>
38 </div>
39
40 <div class="testContainer" data=expected-height=10>
41 <div class="containLayout inlineBlock sized" data-expected-height=10><div cl ass="overhangingFloat"></div></div>
42 </div>
43
44 <div id="absolute">
szager1 2015/12/16 23:46:23 Might be a good idea to do another test case like
45 <div class="overhangingFloat"></div>
46 <div class="containLayout sized" data-offset-y=50></div>
47 </div>
48
49 <script src="../../../resources/check-layout.js"></script>
50 <script>
51 checkLayout('.containLayout');
52 checkLayout('.testContainer');
53 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/layout-containment-sizing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698