Index: third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/maxcontent-minmax-content-inlinesize-contribution-nonreplaced-blocks.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/maxcontent-minmax-content-inlinesize-contribution-nonreplaced-blocks.html b/third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/maxcontent-minmax-content-inlinesize-contribution-nonreplaced-blocks.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc223eeca6d60dd09077e91b83bcc1dfea655fc6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css-intrinsic-dimensions/maxcontent-minmax-content-inlinesize-contribution-nonreplaced-blocks.html |
@@ -0,0 +1,100 @@ |
+<!DOCTYPE html> |
+ |
+<style> |
+@import "resources/width-keyword-classes.css"; |
+@import "resources/intrinsic-size-contribution.css"; |
+</style> |
+ |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script src="../../resources/check-layout-th.js"></script> |
+ |
+<body onload="checkLayout('.container')"> |
+<div id=log></div> |
+ |
+<div class="container min-content" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30"> |
+ <div class="item max-content" data-expected-width="90" data-expected-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container min-content" data-expected-width="110" data-expected-height="50" data-expected-client-width="100" data-expected-client-height="40"> |
+ <div class="item max-content border" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container min-content" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50"> |
+ <div class="item max-content padding" data-expected-width="110" data-expected-height="50" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container min-content" data-expected-width="140" data-expected-height="80" data-expected-client-width="130" data-expected-client-height="70"> |
+ <div class="item max-content margin" data-expected-width="90" data-expected-height="30" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container min-content" data-expected-width="130" data-expected-height="70" data-expected-client-width="120" data-expected-client-height="60"> |
+ <div class="item max-content border padding" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container min-content" data-expected-width="150" data-expected-height="90" data-expected-client-width="140" data-expected-client-height="80"> |
+ <div class="item max-content border margin" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container min-content" data-expected-width="170" data-expected-height="110" data-expected-client-width="160" data-expected-client-height="100"> |
+ <div class="item max-content border padding margin" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30"> |
+ <div class="item max-content" data-expected-width="90" data-expected-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="110" data-expected-height="50" data-expected-client-width="100" data-expected-client-height="40"> |
+ <div class="item max-content border" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50"> |
+ <div class="item max-content padding" data-expected-width="110" data-expected-height="50" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="140" data-expected-height="80" data-expected-client-width="130" data-expected-client-height="70"> |
+ <div class="item max-content margin" data-expected-width="90" data-expected-height="30" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="130" data-expected-height="70" data-expected-client-width="120" data-expected-client-height="60"> |
+ <div class="item max-content border padding" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="150" data-expected-height="90" data-expected-client-width="140" data-expected-client-height="80"> |
+ <div class="item max-content border margin" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container max-content" data-expected-width="170" data-expected-height="110" data-expected-client-width="160" data-expected-client-height="100"> |
+ <div class="item max-content border padding margin" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30"> |
+ <div class="item max-content" data-expected-width="90" data-expected-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="110" data-expected-height="50" data-expected-client-width="100" data-expected-client-height="40"> |
+ <div class="item max-content border" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50"> |
+ <div class="item max-content padding" data-expected-width="110" data-expected-height="50" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="140" data-expected-height="80" data-expected-client-width="130" data-expected-client-height="70"> |
+ <div class="item max-content margin" data-expected-width="90" data-expected-height="30" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="130" data-expected-height="70" data-expected-client-width="120" data-expected-client-height="60"> |
+ <div class="item max-content border padding" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="150" data-expected-height="90" data-expected-client-width="140" data-expected-client-height="80"> |
+ <div class="item max-content border margin" data-expected-width="100" data-expected-height="40" data-expected-client-width="90" data-expected-client-height="30">XXX XXXXX</div> |
+</div> |
+ |
+<div class="container fit-content" data-expected-width="170" data-expected-height="110" data-expected-client-width="160" data-expected-client-height="100"> |
+ <div class="item max-content border padding margin" data-expected-width="120" data-expected-height="60" data-expected-client-width="110" data-expected-client-height="50">XXX XXXXX</div> |
+</div> |
+ |
+ |
+</body> |