diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-02-09 16:06:51 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-02-09 17:04:37 +0100 |
| commit | ad28cc7559430baef7b219f344fff411994881a3 (patch) | |
| tree | 83cc6a5b5c3173d8a634edcbc15a8cf1250a9c1b /test | |
| parent | 586ff631ce66c4e6b87446555cbb67d49e66be48 (diff) | |
| download | chawan-ad28cc7559430baef7b219f344fff411994881a3.tar.gz | |
layout: refactor tree building phase
* remove inlineGroup - it was completely pointless now, and was the
cause of some whitespace collapsing bugs
* fix a float bug made visible by the above change
* fix non-standard list item counter behavior
Diffstat (limited to 'test')
| -rw-r--r-- | test/layout/absolute-in-absolute.color.expected | 2 | ||||
| -rw-r--r-- | test/layout/clear-on-new-bfc-only-clears-in-parent.expected | 2 | ||||
| -rw-r--r-- | test/layout/inline-float-before-and-after-clear.expected | 2 | ||||
| -rw-r--r-- | test/layout/position-absolute-block-in-inline.color.expected | 2 | ||||
| -rw-r--r-- | test/layout/position-absolute-margins.expected | 2 | ||||
| -rw-r--r-- | test/layout/quotes.expected | 7 | ||||
| -rw-r--r-- | test/layout/quotes.html | 17 |
7 files changed, 29 insertions, 5 deletions
diff --git a/test/layout/absolute-in-absolute.color.expected b/test/layout/absolute-in-absolute.color.expected index 0e5ede43..ae9778ec 100644 --- a/test/layout/absolute-in-absolute.color.expected +++ b/test/layout/absolute-in-absolute.color.expected @@ -1,5 +1,5 @@ [48;2;255;0;0mtest[49m -[48;2;255;0;0mtest[49m +[48;2;255;0;0mtest[49m [48;2;0;0;255mtest2[49m [48;2;0;0;255mtest2[49m [48;2;0;0;255mtest2[49m diff --git a/test/layout/clear-on-new-bfc-only-clears-in-parent.expected b/test/layout/clear-on-new-bfc-only-clears-in-parent.expected index c9c94361..4128fa09 100644 --- a/test/layout/clear-on-new-bfc-only-clears-in-parent.expected +++ b/test/layout/clear-on-new-bfc-only-clears-in-parent.expected @@ -3,7 +3,7 @@ test -testtest +testtest test diff --git a/test/layout/inline-float-before-and-after-clear.expected b/test/layout/inline-float-before-and-after-clear.expected index c66997b7..97fd6962 100644 --- a/test/layout/inline-float-before-and-after-clear.expected +++ b/test/layout/inline-float-before-and-after-clear.expected @@ -1,4 +1,4 @@ -leftinline +leftinline clear block float diff --git a/test/layout/position-absolute-block-in-inline.color.expected b/test/layout/position-absolute-block-in-inline.color.expected index 839256f8..4a74f469 100644 --- a/test/layout/position-absolute-block-in-inline.color.expected +++ b/test/layout/position-absolute-block-in-inline.color.expected @@ -1,7 +1,7 @@ [48;2;255;0;0mabsolute 1[49m line [48;2;255;0;0mabsabsolute 2[49m [48;2;0;0;255mabsolute 3[49m -line four +line four [38;2;109;109;109m[48;2;255;255;0mabsolute 4[39m[49m [48;2;0;0;255mabsolute 5[49m line six[38;2;109;109;109m[48;2;255;255;0mabsolute 6[39m[49m diff --git a/test/layout/position-absolute-margins.expected b/test/layout/position-absolute-margins.expected index 398aea9d..3ccca807 100644 --- a/test/layout/position-absolute-margins.expected +++ b/test/layout/position-absolute-margins.expected @@ -1,3 +1,3 @@ -test +test with top/left without top/left diff --git a/test/layout/quotes.expected b/test/layout/quotes.expected index 741b1b18..dab25beb 100644 --- a/test/layout/quotes.expected +++ b/test/layout/quotes.expected @@ -1 +1,8 @@ test \test/ \atestb/ +1inc +2inc +3inc +4inc +5inc +6inc +7inc diff --git a/test/layout/quotes.html b/test/layout/quotes.html index 80aa88f1..8425646f 100644 --- a/test/layout/quotes.html +++ b/test/layout/quotes.html @@ -1,3 +1,20 @@ +<!DOCTYPE html> +<style> +div { quotes: "1" "" "2" "" "3" "" "4" "" "5" "" "6" "" "7" "" } +#inc::before { content: open-quote } +#dec::before { content: close-quote } +</style> <q style="quotes: none">test</q> <q style="quotes: '\\' '/'">test</q> <q style="quotes: '\\' '/' 'a' 'b'"><q>test</q></q> +<div> +<span> +<div id=inc>inc</div> +<div id=inc>inc</div> +<div id=inc>inc</div> +<div id=inc>inc</div> +</span> +<div id=inc>inc</div> +<div id=inc>inc</div> +</div> +<div id=inc>inc</div> |