diff options
author | bptato <nincsnevem662@gmail.com> | 2024-04-21 21:26:27 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-04-21 21:28:45 +0200 |
commit | e3d9ee2c6224cd30bf56e24f7988899e0e3985c1 (patch) | |
tree | 31116d7d751d058f32bf43313c12673423e8d8be /test/layout/inline-backgrounds.html | |
parent | ba88f015ea500bcc574b621392c721ef2c9dbcd0 (diff) | |
download | chawan-e3d9ee2c6224cd30bf56e24f7988899e0e3985c1.tar.gz |
test: add js & layout tests
(Sadly some layout tests still fail.)
Diffstat (limited to 'test/layout/inline-backgrounds.html')
-rw-r--r-- | test/layout/inline-backgrounds.html | 33 |
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> |