summaryrefslogtreecommitdiffstats
path: root/layout/reftests/abs-pos/auto-offset-inline-block-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/abs-pos/auto-offset-inline-block-1.html')
-rw-r--r--layout/reftests/abs-pos/auto-offset-inline-block-1.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/abs-pos/auto-offset-inline-block-1.html b/layout/reftests/abs-pos/auto-offset-inline-block-1.html
new file mode 100644
index 0000000000..08a691ade3
--- /dev/null
+++ b/layout/reftests/abs-pos/auto-offset-inline-block-1.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML>
+<title>'auto' offset properties on display:inline-block</title>
+<style>
+p { font-family: monospace /* avoid kerning */ }
+span {
+ display: inline-block;
+ position: absolute;
+}
+</style>
+<p>Hello<span>World</span></p>