about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-08 18:27:49 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-08 18:27:49 +0100
commit4a727c2d8998f5ab68612fddff2f3080121dc551 (patch)
tree1c2096f0ec5e26c5e20c0420d6dc1d40c145a2bb /test
parent38e6caa442a339e3fe3b6cbb0bde96a7ffabcc82 (diff)
downloadchawan-4a727c2d8998f5ab68612fddff2f3080121dc551.tar.gz
layout: fix some pre whitespace bugs
Diffstat (limited to 'test')
-rw-r--r--test/layout/pre-preserves-initial-whitespace.expected4
-rw-r--r--test/layout/pre-preserves-initial-whitespace.html4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/layout/pre-preserves-initial-whitespace.expected b/test/layout/pre-preserves-initial-whitespace.expected
new file mode 100644
index 00000000..e06221e2
--- /dev/null
+++ b/test/layout/pre-preserves-initial-whitespace.expected
@@ -0,0 +1,4 @@
+
+  test
+  
+test
diff --git a/test/layout/pre-preserves-initial-whitespace.html b/test/layout/pre-preserves-initial-whitespace.html
new file mode 100644
index 00000000..64b41db1
--- /dev/null
+++ b/test/layout/pre-preserves-initial-whitespace.html
@@ -0,0 +1,4 @@
+<!DOCTYPE html>
+<pre>
+  <span>test</span>
+  <div>test</div>