summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html b/testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html
new file mode 100644
index 0000000000..e6f9bd6f9a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/positioning/abspos-negative-margin-001-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+div {
+ font-size: 10px;
+ line-height: 1;
+}
+.blue {
+ display: inline-block;
+ vertical-align: bottom;
+ width: 10px;
+ height: 10px;
+ background: blue;
+}
+</style>
+<body>
+ <div>x<span class="blue"></span></div>
+ <div>x<br><span class="blue"></span></div>
+</body>