summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html b/testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html
new file mode 100644
index 0000000000..b19d92e83b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<title>flexbox | overflow</title>
+<link rel="author" href="http://opera.com" title="Opera Software">
+<link rel="help"
+ href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
+<link rel="match" href="../reference/blank.html">
+<style>
+div {
+ background: red;
+ height: 4em;
+ width: 0;
+ overflow: hidden;
+
+ display: flex;
+ justify-content: space-around;
+}
+p {width: 200px;}
+</style>
+
+<div>
+ <p>one two three four</p>
+ <p>filler</p>
+ <p>filler</p>
+ <p>filler</p>
+ <p>filler</p>
+</div>