aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2025-02-13 16:24:06 +0100
committerGitHub <noreply@github.com>2025-02-13 15:24:06 +0000
commit2b930814d75cd82fe3ad1aba24f1746ee2568c30 (patch)
treee51a8a7653e13425f4d9d11fa39cb03261fc85c0 /tests/wpt/meta/css
parent3d9e7a95e018a2382c1814e8e22b1932965979de (diff)
downloadservo-2b930814d75cd82fe3ad1aba24f1746ee2568c30.tar.gz
servo-2b930814d75cd82fe3ad1aba24f1746ee2568c30.zip
layout: Basic implementation of size keywords on `flex-basis` (#35413)
layout: Basic implementation of size keywords on `flex-basis` This splits the logic to resolve the used value of `flex-basis` into its own method, which preserves size keywords. And then it changes `flex_base_size()` to resolve the provided keywords properly. However, it doesn't handle size keywords in the cross axis. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'tests/wpt/meta/css')
-rw-r--r--tests/wpt/meta/css/css-flexbox/flex-basis-intrinsics-001.html.ini10
-rw-r--r--tests/wpt/meta/css/css-sizing/stretch/flex-basis-1.html.ini12
-rw-r--r--tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-column.html.ini9
-rw-r--r--tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-row.html.ini9
4 files changed, 2 insertions, 38 deletions
diff --git a/tests/wpt/meta/css/css-flexbox/flex-basis-intrinsics-001.html.ini b/tests/wpt/meta/css/css-flexbox/flex-basis-intrinsics-001.html.ini
index 51eafb8d818..cc268a2fba0 100644
--- a/tests/wpt/meta/css/css-flexbox/flex-basis-intrinsics-001.html.ini
+++ b/tests/wpt/meta/css/css-flexbox/flex-basis-intrinsics-001.html.ini
@@ -1,14 +1,8 @@
[flex-basis-intrinsics-001.html]
- [.flex-item 1]
+ [.flex-item 7]
expected: FAIL
- [.flex-item 2]
- expected: FAIL
-
- [.flex-item 3]
- expected: FAIL
-
- [.flex-item 8]
+ [.flex-item 9]
expected: FAIL
[.flex-item 10]
diff --git a/tests/wpt/meta/css/css-sizing/stretch/flex-basis-1.html.ini b/tests/wpt/meta/css/css-sizing/stretch/flex-basis-1.html.ini
deleted file mode 100644
index 60d0c1e03f2..00000000000
--- a/tests/wpt/meta/css/css-sizing/stretch/flex-basis-1.html.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[flex-basis-1.html]
- [.item 1]
- expected: FAIL
-
- [.item 2]
- expected: FAIL
-
- [.item 3]
- expected: FAIL
-
- [.item 4]
- expected: FAIL
diff --git a/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-column.html.ini b/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-column.html.ini
index 8deb6bc34cd..57262f955b0 100644
--- a/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-column.html.ini
+++ b/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-column.html.ini
@@ -1,13 +1,4 @@
[calc-size-flex-basis-on-column.html]
- [resolved value for height resulting from flex-basis: min-content]
- expected: FAIL
-
- [resolved value for height resulting from flex-basis: fit-content]
- expected: FAIL
-
- [resolved value for height resulting from flex-basis: max-content]
- expected: FAIL
-
[resolved value for height resulting from flex-basis: calc-size(any, 357px)]
expected: FAIL
diff --git a/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-row.html.ini b/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-row.html.ini
index 5ad80445253..3c801c58ced 100644
--- a/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-row.html.ini
+++ b/tests/wpt/meta/css/css-values/calc-size/calc-size-flex-basis-on-row.html.ini
@@ -1,13 +1,4 @@
[calc-size-flex-basis-on-row.html]
- [resolved value for width resulting from flex-basis: min-content]
- expected: FAIL
-
- [resolved value for width resulting from flex-basis: fit-content]
- expected: FAIL
-
- [resolved value for width resulting from flex-basis: max-content]
- expected: FAIL
-
[resolved value for width resulting from flex-basis: calc-size(any, 357px)]
expected: FAIL