commit 86b3ff552607784e7c12756f28d079db6c728e46 parent 34231c8c97ff6fb973d41e4aaabf11d32f5b0068 Author: eri <eri@igalia.com> Date: Mon, 27 Oct 2025 10:01:40 +0000 Bug 1985961 [wpt PR 54589] - Add animation tests for math-* properties, a=testonly Automatic update from web-platform-tests Draft: Add animation tests for math-* -- wpt-commits: a1f6c1ddf30099ca8f9596285dbe3feafdea2db7 wpt-pr: 54589 Diffstat:
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/mathml/relations/css-styling/parsing/math-depth-computed.html b/testing/web-platform/tests/mathml/relations/css-styling/parsing/math-depth-computed.html @@ -12,6 +12,9 @@ <body> <math id="target"></math> <script> + test_computed_value("math-depth", "auto-add", "0"); + test_computed_value("math-depth", "add(0)", "0"); + test_computed_value("math-depth", "add(1)", "1"); test_computed_value("math-depth", "0"); test_computed_value("math-depth", "1"); </script> diff --git a/testing/web-platform/tests/web-animations/animation-model/animation-types/property-list.js b/testing/web-platform/tests/web-animations/animation-model/animation-types/property-list.js @@ -905,6 +905,26 @@ const gCSSProperties2 = { { type: 'discrete', options: [ [ 'circle', 'square' ] ] } ] }, + "math-depth": { + // https://w3c.github.io/mathml-core/#propdef-math-depth + types: [ + "integer", + { type: "discrete", options: [ [ "auto-add", "1", "0", "1" ], + [ "add(1)", "2", "1", "2" ] ] }, + ], + }, + "math-shift": { + // https://w3c.github.io/mathml-core/#propdef-math-shift + types: [ + { type: "discrete", options: [ [ "normal", "compact" ] ] }, + ], + }, + "math-style": { + // https://w3c.github.io/mathml-core/#propdef-math-style + types: [ + { type: "discrete", options: [ [ "normal", "compact" ] ] }, + ], + }, 'margin-block-end': { // https://drafts.csswg.org/css-logical-props/#propdef-margin-block-end types: [