diff options
Diffstat (limited to 'test/layout')
-rw-r--r-- | test/layout/position.color.expected | 8 | ||||
-rw-r--r-- | test/layout/position.html | 13 |
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 @@ + [48;2;255;0;0mtest test test test test test test test test test [49m + [48;2;255;0;0mtest test test test test test [49m +[48;2;0;128;0mabcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd[49m + + [48;2;255;0;0mtest test test [49m + + [48;2;0;0;255mtest [49m + 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> |