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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/indefinite-percent-minmax-content-inlinesize-contribution-nonreplaced-blocks.html

Issue 1504403002: Fix computation of min|max-content contribution of non-replaced blocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reworked patch & tests 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
3 <style>
4 @import "resources/width-keyword-classes.css";
5 @import "resources/intrinsic-size-contribution.css";
6
7 .item {
8 width: 50%;
9 }
10 </style>
11
12 <script src="../../resources/testharness.js"></script>
13 <script src="../../resources/testharnessreport.js"></script>
14 <script src="../../resources/check-layout-th.js"></script>
15
16 <body onload="checkLayout('.container')">
17 <div id=log></div>
18
19 <div class="container min-content" data-expected-width="60" data-expected-height ="40" data-expected-client-width="50" data-expected-client-height="30">
20 <div class="item" data-expected-width="25" data-expected-height="30">XXX XXX XX</div>
21 </div>
22
23 <div class="container min-content" data-expected-width="70" data-expected-height ="50" data-expected-client-width="60" data-expected-client-height="40">
24 <div class="item border" data-expected-width="40" data-expected-height="40" data-expected-client-width="30" data-expected-client-height="30">XXX XXXXX</div>
25 </div>
26
27 <div class="container min-content" data-expected-width="80" data-expected-height ="60" data-expected-client-width="70" data-expected-client-height="50">
28 <div class="item padding" data-expected-width="55" data-expected-height="50" data-expected-client-width="55" data-expected-client-height="50">XXX XXXXX</div >
29 </div>
30
31 <div class="container min-content" data-expected-width="100" data-expected-heigh t="80" data-expected-client-width="90" data-expected-client-height="70">
32 <div class="item margin" data-expected-width="45" data-expected-height="30" data-expected-client-width="45" data-expected-client-height="30">XXX XXXXX</div>
33 </div>
34
35 <div class="container min-content" data-expected-width="90" data-expected-height ="70" data-expected-client-width="80" data-expected-client-height="60">
36 <div class="item border padding" data-expected-width="70" data-expected-heig ht="60" data-expected-client-width="60" data-expected-client-height="50">XXX XXX XX</div>
37 </div>
38
39 <div class="container min-content" data-expected-width="110" data-expected-heigh t="90" data-expected-client-width="100" data-expected-client-height="80">
40 <div class="item border margin" data-expected-width="60" data-expected-heigh t="40" data-expected-client-width="50" data-expected-client-height="30">XXX XXXX X</div>
41 </div>
42
43 <div class="container min-content" data-expected-width="130" data-expected-heigh t="110" data-expected-client-width="120" data-expected-client-height="100">
44 <div class="item border padding margin" data-expected-width="90" data-expect ed-height="60" data-expected-client-width="80" data-expected-client-height="50"> XXX XXXXX</div>
45 </div>
46
47 <div class="container max-content" data-expected-width="100" data-expected-heigh t="40" data-expected-client-width="90" data-expected-client-height="30">
48 <div class="item" data-expected-width="45" data-expected-height="30">XXX XXX XX</div>
49 </div>
50
51 <div class="container max-content" data-expected-width="110" data-expected-heigh t="50" data-expected-client-width="100" data-expected-client-height="40">
52 <div class="item border" data-expected-width="60" data-expected-height="40" data-expected-client-width="50" data-expected-client-height="30">XXX XXXXX</div>
53 </div>
54
55 <div class="container max-content" data-expected-width="120" data-expected-heigh t="60" data-expected-client-width="110" data-expected-client-height="50">
56 <div class="item padding" data-expected-width="75" data-expected-height="50" data-expected-client-width="75" data-expected-client-height="50">XXX XXXXX</div >
57 </div>
58
59 <div class="container max-content" data-expected-width="140" data-expected-heigh t="80" data-expected-client-width="130" data-expected-client-height="70">
60 <div class="item margin" data-expected-width="65" data-expected-height="30" data-expected-client-width="65" data-expected-client-height="30">XXX XXXXX</div>
61 </div>
62
63 <div class="container max-content" data-expected-width="130" data-expected-heigh t="70" data-expected-client-width="120" data-expected-client-height="60">
64 <div class="item border padding" data-expected-width="90" data-expected-heig ht="60" data-expected-client-width="80" data-expected-client-height="50">XXX XXX XX</div>
65 </div>
66
67 <div class="container max-content" data-expected-width="150" data-expected-heigh t="90" data-expected-client-width="140" data-expected-client-height="80">
68 <div class="item border margin" data-expected-width="80" data-expected-heigh t="40" data-expected-client-width="70" data-expected-client-height="30">XXX XXXX X</div>
69 </div>
70
71 <div class="container max-content" data-expected-width="170" data-expected-heigh t="110" data-expected-client-width="160" data-expected-client-height="100">
72 <div class="item border padding margin" data-expected-width="110" data-expec ted-height="60" data-expected-client-width="100" data-expected-client-height="50 ">XXX XXXXX</div>
73 </div>
74
75 <div class="container fit-content" data-expected-width="100" data-expected-heigh t="40" data-expected-client-width="90" data-expected-client-height="30">
76 <div class="item" data-expected-width="45" data-expected-height="30">XXX XXX XX</div>
77 </div>
78
79 <div class="container fit-content" data-expected-width="110" data-expected-heigh t="50" data-expected-client-width="100" data-expected-client-height="40">
80 <div class="item border" data-expected-width="60" data-expected-height="40" data-expected-client-width="50" data-expected-client-height="30">XXX XXXXX</div>
81 </div>
82
83 <div class="container fit-content" data-expected-width="120" data-expected-heigh t="60" data-expected-client-width="110" data-expected-client-height="50">
84 <div class="item padding" data-expected-width="75" data-expected-height="50" data-expected-client-width="75" data-expected-client-height="50">XXX XXXXX</div >
85 </div>
86
87 <div class="container fit-content" data-expected-width="140" data-expected-heigh t="80" data-expected-client-width="130" data-expected-client-height="70">
88 <div class="item margin" data-expected-width="65" data-expected-height="30" data-expected-client-width="65" data-expected-client-height="30">XXX XXXXX</div>
89 </div>
90
91 <div class="container fit-content" data-expected-width="130" data-expected-heigh t="70" data-expected-client-width="120" data-expected-client-height="60">
92 <div class="item border padding" data-expected-width="90" data-expected-heig ht="60" data-expected-client-width="80" data-expected-client-height="50">XXX XXX XX</div>
93 </div>
94
95 <div class="container fit-content" data-expected-width="150" data-expected-heigh t="90" data-expected-client-width="140" data-expected-client-height="80">
96 <div class="item border margin" data-expected-width="80" data-expected-heigh t="40" data-expected-client-width="70" data-expected-client-height="30">XXX XXXX X</div>
97 </div>
98
99 <div class="container fit-content" data-expected-width="170" data-expected-heigh t="110" data-expected-client-width="160" data-expected-client-height="100">
100 <div class="item border padding margin" data-expected-width="110" data-expec ted-height="60" data-expected-client-width="100" data-expected-client-height="50 ">XXX XXXXX</div>
101 </div>
102
103 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698