summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/whitespace-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/whitespace-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/whitespace-001-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/whitespace-001-ref.html b/testing/web-platform/tests/css/css-tables/whitespace-001-ref.html
new file mode 100644
index 0000000000..e9d5c50ccd
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/whitespace-001-ref.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<style>
+.outer {
+ display: block;
+ width: 500px;
+ background: purple;
+ border: 1px solid green;
+}
+.half {
+ display: inline-block;
+ width: 50%;
+ background: blue;
+}
+.half + .half {
+ background: yellow;
+}
+</style>
+<div class="outer">
+ <div class="half">A</div>
+ <!-- White space here should take up space -->
+ <div class="half">B</div>
+</div>