From c427cf64a8c13b13ce39fecf9db71672df622038 Mon Sep 17 00:00:00 2001 From: JustOff Date: Thu, 14 Mar 2019 19:40:42 +0200 Subject: Handle the special case of a flex frame being the absolute containing block correctly from the CSS align code --- ...position-absolute-containing-block-001-ref.html | 27 +++++++++++++++ .../position-absolute-containing-block-001.html | 30 +++++++++++++++++ ...position-absolute-containing-block-002-ref.html | 27 +++++++++++++++ .../position-absolute-containing-block-002.html | 38 ++++++++++++++++++++++ .../w3c-css/submitted/flexbox/reftest.list | 4 +++ 5 files changed, 126 insertions(+) create mode 100644 layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002.html (limited to 'layout/reftests/w3c-css/submitted/flexbox') diff --git a/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001-ref.html b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001-ref.html new file mode 100644 index 000000000..08eec8691 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001-ref.html @@ -0,0 +1,27 @@ + + +CSS Test Reference + + + +
+ \ No newline at end of file diff --git a/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001.html b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001.html new file mode 100644 index 000000000..5f623cb84 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-001.html @@ -0,0 +1,30 @@ + + +CSS Test: Absolutely positioned children of flex container with CSS align + + + + + + +
+ \ No newline at end of file diff --git a/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002-ref.html b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002-ref.html new file mode 100644 index 000000000..df730047b --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002-ref.html @@ -0,0 +1,27 @@ + + +CSS Test Reference + + + +
+ \ No newline at end of file diff --git a/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002.html b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002.html new file mode 100644 index 000000000..9e89c5ad0 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/position-absolute-containing-block-002.html @@ -0,0 +1,38 @@ + + +CSS Test: Absolutely positioned children of flex container with CSS align + + + + + + +
+ \ No newline at end of file diff --git a/layout/reftests/w3c-css/submitted/flexbox/reftest.list b/layout/reftests/w3c-css/submitted/flexbox/reftest.list index fd8bfccc9..3df75aee6 100644 --- a/layout/reftests/w3c-css/submitted/flexbox/reftest.list +++ b/layout/reftests/w3c-css/submitted/flexbox/reftest.list @@ -211,3 +211,7 @@ fails == flexbox-min-height-auto-002b.html flexbox-min-height-auto-002-ref.html == flexbox-single-line-clamp-1.html flexbox-single-line-clamp-1-ref.html == flexbox-single-line-clamp-2.html flexbox-single-line-clamp-2-ref.html == flexbox-single-line-clamp-3.html flexbox-single-line-clamp-3-ref.html + +# Flexbox as an absolute containing block. +== position-absolute-containing-block-001.html position-absolute-containing-block-001-ref.html +== position-absolute-containing-block-002.html position-absolute-containing-block-002-ref.html -- cgit v1.2.3