about summary refs log tree commit diff stats
path: root/test/layout/inline-backgrounds.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout/inline-backgrounds.html')
-rw-r--r--test/layout/inline-backgrounds.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/layout/inline-backgrounds.html b/test/layout/inline-backgrounds.html
new file mode 100644
index 00000000..27519bd5
--- /dev/null
+++ b/test/layout/inline-backgrounds.html
@@ -0,0 +1,33 @@
+<pre style="width: 100%; text-align: center">
+<span style="background-color: red">
+<span style="text-align: center">testing</span>
+test test test <span style="display: inline-block; margin-top: -2em">test</span>
+new line
+
+new line
+new line
+done</span>now another thing
+</span>
+</pre>
+but
+<div style="width: 100%; text-align: center">
+<br>
+<span style="background-color: red">
+this works: <span style="text-align: center">testing</span>
+<br>
+<br>
+<br>
+<br>
+test test test <span style="display: inline-block">test</span> thing
+</div>
+final stage
+<pre style="width: 100%; text-align: center">
+<span style="background-color: red">
+<span style="text-align: center">testing</span>
+test test test <span style="display: inline-block; margin-top: -2em">test</span>
+new line
+new line
+new line
+done</span>now another thing
+</span>
+</pre>