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/margins.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/margins.html')
-rw-r--r-- | test/layout/margins.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/layout/margins.html b/test/layout/margins.html new file mode 100644 index 00000000..415dc592 --- /dev/null +++ b/test/layout/margins.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<style> + +* { + font-family: monospace,monospace +} +</style> +<div style="display: inline-block; width: 15ch"> +<div style="margin-bottom: 2ch;">wtf?</div> +<div style="display: flow-root; margin-top: 4ch">hi from right</div> +<div style="margin-left: 2ch; margin-right: 2ch; margin-top: 4ch"> +<div style="display: flow-root">hi from left</div> +</div> +<div> +hi in center +</div> +</div> |