diff options
Diffstat (limited to 'test')
5 files changed, 27 insertions, 3 deletions
diff --git a/test/layout/flex-shrink-overconstrained.color.expected b/test/layout/flex-shrink-overconstrained.color.expected new file mode 100644 index 00000000..82c615f0 --- /dev/null +++ b/test/layout/flex-shrink-overconstrained.color.expected @@ -0,0 +1,6 @@ +[48;2;255;0;0m1111 1111 [38;2;95;95;95m[48;2;255;192;203mtest test test test test [39m[49m +[48;2;255;0;0m1111 1111 [38;2;95;95;95m[48;2;255;192;203mtest test test test test [39m[49m +[48;2;255;0;0m1111 1111 [38;2;95;95;95m[48;2;255;192;203mtest test test test test [39m[49m +[48;2;255;0;0m1111 1111 [38;2;95;95;95m[48;2;255;192;203mtest test [39m[49m +[48;2;255;0;0m1111 [38;2;95;95;95m[48;2;255;192;203m [39m[49m + diff --git a/test/layout/flex-shrink-overconstrained.html b/test/layout/flex-shrink-overconstrained.html new file mode 100644 index 00000000..162bcb49 --- /dev/null +++ b/test/layout/flex-shrink-overconstrained.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<div style="display: flex; width: 40ch"> +<div style="width: 40ch; background: red">1111 1111 1111 1111 1111 1111 1111 1111 1111</div> +<div style="width: 80ch; background: pink">test test test test test test test test test test test test test test test test test</div> +<!-- +<div style="width: 4ch; background: aliceblue">last</div> diff --git a/test/layout/flex-shrink-simple.expected b/test/layout/flex-shrink-simple.expected index 1ba2dc37..f694b6e7 100644 --- a/test/layout/flex-shrink-simple.expected +++ b/test/layout/flex-shrink-simple.expected @@ -1,3 +1,2 @@ -test test test test test test test test test test test test test test test last -test test test test test test test test test test -test +test test test test test test test test test test test test test test test last +test test test test test test test test test test test diff --git a/test/layout/non-growing-flex-item-indefinite-intrinsic-size.color.expected b/test/layout/non-growing-flex-item-indefinite-intrinsic-size.color.expected new file mode 100644 index 00000000..a974ea54 --- /dev/null +++ b/test/layout/non-growing-flex-item-indefinite-intrinsic-size.color.expected @@ -0,0 +1,2 @@ +flex item 1[48;2;255;0;0ma[38;2;95;95;95m[48;2;255;192;203m [39m[49m + absolute diff --git a/test/layout/non-growing-flex-item-indefinite-intrinsic-size.html b/test/layout/non-growing-flex-item-indefinite-intrinsic-size.html new file mode 100644 index 00000000..6281e3fe --- /dev/null +++ b/test/layout/non-growing-flex-item-indefinite-intrinsic-size.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<div style="display: flex"> +<div>flex item 1</div> +<div style="position: relative; background: pink"> +<div style="display: inline-block; width: 100%; background: red">a</div> +<!-- +this part is a more or less unrelated test for whether setting relative +on an inline root block box marks it as the containing block. +--> +<div style="right: 0; position: absolute"> +absolute |