summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/whitespace-and-break.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/whitespace-and-break.html')
-rw-r--r--testing/web-platform/tests/css/css-sizing/whitespace-and-break.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/whitespace-and-break.html b/testing/web-platform/tests/css/css-sizing/whitespace-and-break.html
new file mode 100644
index 0000000000..f3ea376447
--- /dev/null
+++ b/testing/web-platform/tests/css/css-sizing/whitespace-and-break.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<title>Collapsable whitespace and break after inline-block</title>
+<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="4.1. Intrinsic Sizes">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="width:fit-content; background:red;">
+ <div style="display:inline-block; vertical-align:top; width:100px; height:100px; background:green;"></div>
+ <br>
+</div>