about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-27 18:16:04 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-27 18:16:04 +0200
commitab292c23534b380058cf9d40df9f8f080d68aa21 (patch)
tree0a4cf3ea03cb8c99d4bc0fdfec04cb3d3dc915d3 /test
parent687ba54646b8b6b51597b3f11964543d9233eaa3 (diff)
downloadchawan-ab292c23534b380058cf9d40df9f8f080d68aa21.tar.gz
layout: fix wrong padding offsets
+ some misc refactorings
Diffstat (limited to 'test')
-rw-r--r--test/layout/inline-backgrounds.color.expected3
-rw-r--r--test/layout/inline-backgrounds.html4
2 files changed, 7 insertions, 0 deletions
diff --git a/test/layout/inline-backgrounds.color.expected b/test/layout/inline-backgrounds.color.expected
index ecd31ae5..4fdd2664 100644
--- a/test/layout/inline-backgrounds.color.expected
+++ b/test/layout/inline-backgrounds.color.expected
@@ -26,3 +26,6 @@ final stage
                                     new line
                              donenow another thing
 
+
+test1  test2    test3     test4
+
diff --git a/test/layout/inline-backgrounds.html b/test/layout/inline-backgrounds.html
index 8298bfe6..8150b3b2 100644
--- a/test/layout/inline-backgrounds.html
+++ b/test/layout/inline-backgrounds.html
@@ -31,3 +31,7 @@ new line
 done</span>now another thing
 </span>
 </pre>
+<span>test1</span>
+<span style="padding-left: 1ch; background-color: green">test2</span>
+<span style="background-color: blue; padding-left: 1ch; padding-right: 1ch; margin: 1em">test3</span>
+<span style="padding-left: 1ch; background-color: red">test4</span>