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/margin.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/margin.html')
-rw-r--r-- | test/layout/margin.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/layout/margin.html b/test/layout/margin.html new file mode 100644 index 00000000..d055f865 --- /dev/null +++ b/test/layout/margin.html @@ -0,0 +1,19 @@ +<!doctype html> +<style> +.claz { + margin: 1em 2em 1em; +} +.one { + margin: 0 auto; + width: 10em; +} +#a { + margin: 1em; +} +</style> +<div style="width: 1000px"> +spacer +<div class=claz>left, right: 2em<br>top, bottom: 1em.</div> +spacer +<div class="clazz one">width: 10em<br>left, right: auto<br>top, bottom: 0</div> +</div> |