aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-03 23:25:25 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-03 23:25:25 +0100
commit9f7289b063eb863523e5a0d4cbe7c707b48af225 (patch)
tree33f4420ff44a956945ceaeb3de9c9f32f965c2f0 /test/layout
parente548f28c298abf5122d3f3af117b39f08e916d88 (diff)
downloadchawan-9f7289b063eb863523e5a0d4cbe7c707b48af225.tar.gz
layout: respect margin-top of root box
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/root-box-margin-respected.expected2
-rw-r--r--test/layout/root-box-margin-respected.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/layout/root-box-margin-respected.expected b/test/layout/root-box-margin-respected.expected
new file mode 100644
index 00000000..46a4aa21
--- /dev/null
+++ b/test/layout/root-box-margin-respected.expected
@@ -0,0 +1,2 @@
+
+ test
diff --git a/test/layout/root-box-margin-respected.html b/test/layout/root-box-margin-respected.html
new file mode 100644
index 00000000..2486ac9b
--- /dev/null
+++ b/test/layout/root-box-margin-respected.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<html style="margin: 1em">test</html>