summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html')
-rw-r--r--layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html b/layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html
new file mode 100644
index 000000000..9a355f146
--- /dev/null
+++ b/layout/reftests/webkit-box/webkit-box-anon-flex-items-3.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>
+ Test for whether whitespace gets wrapped in an anonymous box,
+ inside of -webkit-box.
+ </title>
+ <style>
+ .container {
+ display: -webkit-box;
+ -webkit-box-pack: justify;
+ width: 300px;
+ border: 1px solid black;
+ white-space: pre;
+ }
+ </style>
+</head>
+<body>
+ <!-- Note the space characters between the first and second divs here: -->
+ <div class="container"><div>a</div> <div>b</div><div>c</div></div>
+</body>
+</html>