summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/auto-height-column-with-border-and-padding.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/auto-height-column-with-border-and-padding.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/auto-height-column-with-border-and-padding.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/auto-height-column-with-border-and-padding.html b/testing/web-platform/tests/css/css-flexbox/auto-height-column-with-border-and-padding.html
new file mode 100644
index 0000000000..2151c21f61
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/auto-height-column-with-border-and-padding.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>CSS Flexbox: auto-height with border and padding</title>
+<link href="support/flexbox.css" rel="stylesheet">
+<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column">
+<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column-reverse">
+<link rel="match" href="reference/auto-height-column-with-border-and-padding-ref.html">
+Tests that auto-height column flexboxes with border and padding correctly size their height to their content.
+<div class="flexbox column" style="border: 5px solid salmon; padding: 5px; overflow: scroll">
+ <div class="flex-one-one-auto" style="min-height: 0">
+ <div style="height: 50px; background-color: pink">
+ <div>
+</div>