about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/position.color.expected8
-rw-r--r--test/layout/position.html13
2 files changed, 21 insertions, 0 deletions
diff --git a/test/layout/position.color.expected b/test/layout/position.color.expected
new file mode 100644
index 00000000..dd312c5a
--- /dev/null
+++ b/test/layout/position.color.expected
@@ -0,0 +1,8 @@
+                              test test test test test test test test test test 
+                              test test test test test test                     
+abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
+
+                              test test test      
+
+               test                          
+
diff --git a/test/layout/position.html b/test/layout/position.html
new file mode 100644
index 00000000..a88fdde5
--- /dev/null
+++ b/test/layout/position.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<div style="background-color: red; position: absolute; left: 30ch">test test test test test test test test test test test test test test test test</div>
+<br>
+<br>
+<div style="background-color: green; position: absolute">abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd</div>
+<br>
+<br>
+<div style="background-color: red; position: absolute; left: 30ch; right: 30ch">test test test</div>
+<br>
+<br>
+<div style="position: absolute; width: 10ch">
+<div style="width: 30ch">
+<div style="background-color: blue; position: relative; left: 50%">test</div>