diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-27 18:16:04 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-27 18:16:04 +0200 |
commit | ab292c23534b380058cf9d40df9f8f080d68aa21 (patch) | |
tree | 0a4cf3ea03cb8c99d4bc0fdfec04cb3d3dc915d3 /test | |
parent | 687ba54646b8b6b51597b3f11964543d9233eaa3 (diff) | |
download | chawan-ab292c23534b380058cf9d40df9f8f080d68aa21.tar.gz |
layout: fix wrong padding offsets
+ some misc refactorings
Diffstat (limited to 'test')
-rw-r--r-- | test/layout/inline-backgrounds.color.expected | 3 | ||||
-rw-r--r-- | test/layout/inline-backgrounds.html | 4 |
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 [48;2;255;0;0mnew line[49m [48;2;255;0;0mdone[49mnow another thing + +test1 [48;2;0;128;0m test2[49m [48;2;0;0;255m test3 [49m [48;2;255;0;0m test4[49m + 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> |