diff --git a/Libraries/LibWeb/CSS/Interpolation.cpp b/Libraries/LibWeb/CSS/Interpolation.cpp index 282c2795c6f..c87cb4f3853 100644 --- a/Libraries/LibWeb/CSS/Interpolation.cpp +++ b/Libraries/LibWeb/CSS/Interpolation.cpp @@ -616,6 +616,11 @@ NonnullRefPtr interpolate_value(DOM::Element& element, Calc auto from_ratio = from.as_ratio().ratio(); auto to_ratio = to.as_ratio().ratio(); + // https://drafts.csswg.org/css-values/#combine-ratio + // If either is degenerate, the values cannot be interpolated. + if (from_ratio.is_degenerate() || to_ratio.is_degenerate()) + return delta >= 0.5f ? to : from; + // The interpolation of a is defined by converting each to a number by dividing the first value // by the second (so a ratio of 3 / 2 would become 1.5), taking the logarithm of that result (so the 1.5 would // become approximately 0.176), then interpolating those values. The result during the interpolation is diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/animation/aspect-ratio-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/animation/aspect-ratio-interpolation.txt new file mode 100644 index 00000000000..e597bba2f51 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-sizing/animation/aspect-ratio-interpolation.txt @@ -0,0 +1,252 @@ +Harness status: OK + +Found 246 tests + +184 Pass +62 Fail +Fail CSS Transitions: property from [0.5] to [2] at (-0.5) should be [0.25 / 1] +Fail CSS Transitions: property from [0.5] to [2] at (0) should be [0.5 / 1] +Fail CSS Transitions: property from [0.5] to [2] at (0.5) should be [1 / 1] +Pass CSS Transitions: property from [0.5] to [2] at (1) should be [2 / 1] +Fail CSS Transitions: property from [0.5] to [2] at (1.5) should be [4 / 1] +Fail CSS Transitions with transition: all: property from [0.5] to [2] at (-0.5) should be [0.25 / 1] +Fail CSS Transitions with transition: all: property from [0.5] to [2] at (0) should be [0.5 / 1] +Fail CSS Transitions with transition: all: property from [0.5] to [2] at (0.5) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [0.5] to [2] at (1) should be [2 / 1] +Fail CSS Transitions with transition: all: property from [0.5] to [2] at (1.5) should be [4 / 1] +Pass CSS Animations: property from [0.5] to [2] at (-0.5) should be [0.25 / 1] +Pass CSS Animations: property from [0.5] to [2] at (0) should be [0.5 / 1] +Pass CSS Animations: property from [0.5] to [2] at (0.5) should be [1 / 1] +Pass CSS Animations: property from [0.5] to [2] at (1) should be [2 / 1] +Pass CSS Animations: property from [0.5] to [2] at (1.5) should be [4 / 1] +Pass Web Animations: property from [0.5] to [2] at (-0.5) should be [0.25 / 1] +Pass Web Animations: property from [0.5] to [2] at (0) should be [0.5 / 1] +Pass Web Animations: property from [0.5] to [2] at (0.5) should be [1 / 1] +Pass Web Animations: property from [0.5] to [2] at (1) should be [2 / 1] +Pass Web Animations: property from [0.5] to [2] at (1.5) should be [4 / 1] +Fail CSS Transitions: property from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1] +Fail CSS Transitions: property from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1] +Fail CSS Transitions: property from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions: property from [1 / 2] to [2 / 1] at (1) should be [2 / 1] +Fail CSS Transitions: property from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1] +Fail CSS Transitions with transition: all: property from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1] +Fail CSS Transitions with transition: all: property from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1] +Fail CSS Transitions with transition: all: property from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 2] to [2 / 1] at (1) should be [2 / 1] +Fail CSS Transitions with transition: all: property from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1] +Pass CSS Animations: property from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1] +Pass CSS Animations: property from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1] +Pass CSS Animations: property from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1] +Pass CSS Animations: property from [1 / 2] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Animations: property from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1] +Pass Web Animations: property from [1 / 2] to [2 / 1] at (-0.5) should be [0.25 / 1] +Pass Web Animations: property from [1 / 2] to [2 / 1] at (0) should be [0.5 / 1] +Pass Web Animations: property from [1 / 2] to [2 / 1] at (0.5) should be [1 / 1] +Pass Web Animations: property from [1 / 2] to [2 / 1] at (1) should be [2 / 1] +Pass Web Animations: property from [1 / 2] to [2 / 1] at (1.5) should be [4 / 1] +Fail CSS Transitions: property from [] to [2 / 1] at (-0.5) should be [0.25 / 1] +Fail CSS Transitions: property from [] to [2 / 1] at (0) should be [0.5 / 1] +Fail CSS Transitions: property from [] to [2 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions: property from [] to [2 / 1] at (1) should be [2 / 1] +Fail CSS Transitions: property from [] to [2 / 1] at (1.5) should be [4 / 1] +Fail CSS Transitions with transition: all: property from [] to [2 / 1] at (-0.5) should be [0.25 / 1] +Fail CSS Transitions with transition: all: property from [] to [2 / 1] at (0) should be [0.5 / 1] +Fail CSS Transitions with transition: all: property from [] to [2 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [] to [2 / 1] at (1) should be [2 / 1] +Fail CSS Transitions with transition: all: property from [] to [2 / 1] at (1.5) should be [4 / 1] +Fail CSS Animations: property from [] to [2 / 1] at (-0.5) should be [0.25 / 1] +Fail CSS Animations: property from [] to [2 / 1] at (0) should be [0.5 / 1] +Fail CSS Animations: property from [] to [2 / 1] at (0.5) should be [1 / 1] +Pass CSS Animations: property from [] to [2 / 1] at (1) should be [2 / 1] +Fail CSS Animations: property from [] to [2 / 1] at (1.5) should be [4 / 1] +Fail CSS Transitions: property from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1] +Fail CSS Transitions: property from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1] +Fail CSS Transitions: property from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1] +Pass CSS Transitions: property from [auto 1 / 2] to [auto 2 / 1] at (1) should be [auto 2 / 1] +Fail CSS Transitions: property from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1] +Fail CSS Transitions with transition: all: property from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1] +Fail CSS Transitions with transition: all: property from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1] +Fail CSS Transitions with transition: all: property from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 2] to [auto 2 / 1] at (1) should be [auto 2 / 1] +Fail CSS Transitions with transition: all: property from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1] +Pass CSS Animations: property from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1] +Pass CSS Animations: property from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1] +Pass CSS Animations: property from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1] +Pass CSS Animations: property from [auto 1 / 2] to [auto 2 / 1] at (1) should be [auto 2 / 1] +Pass CSS Animations: property from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1] +Pass Web Animations: property from [auto 1 / 2] to [auto 2 / 1] at (-0.5) should be [auto 0.25 / 1] +Pass Web Animations: property from [auto 1 / 2] to [auto 2 / 1] at (0) should be [auto 0.5 / 1] +Pass Web Animations: property from [auto 1 / 2] to [auto 2 / 1] at (0.5) should be [auto 1 / 1] +Pass Web Animations: property from [auto 1 / 2] to [auto 2 / 1] at (1) should be [auto 2 / 1] +Pass Web Animations: property from [auto 1 / 2] to [auto 2 / 1] at (1.5) should be [auto 4 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (-0.3) should be [auto] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (0) should be [auto] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (0.3) should be [auto] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto] to [2 / 1] at (1.5) should be [2 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (-0.3) should be [auto] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (0) should be [auto] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (0.3) should be [auto] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto] to [2 / 1] at (1.5) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (-0.3) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (0) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (0.3) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions: property from [auto] to [2 / 1] at (1.5) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (-0.3) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (0) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (0.3) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto] to [2 / 1] at (1.5) should be [2 / 1] +Pass CSS Animations: property from [auto] to [2 / 1] at (-0.3) should be [auto] +Pass CSS Animations: property from [auto] to [2 / 1] at (0) should be [auto] +Pass CSS Animations: property from [auto] to [2 / 1] at (0.3) should be [auto] +Pass CSS Animations: property from [auto] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Animations: property from [auto] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Animations: property from [auto] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Animations: property from [auto] to [2 / 1] at (1.5) should be [2 / 1] +Pass Web Animations: property from [auto] to [2 / 1] at (-0.3) should be [auto] +Pass Web Animations: property from [auto] to [2 / 1] at (0) should be [auto] +Pass Web Animations: property from [auto] to [2 / 1] at (0.3) should be [auto] +Pass Web Animations: property from [auto] to [2 / 1] at (0.5) should be [2 / 1] +Pass Web Animations: property from [auto] to [2 / 1] at (0.6) should be [2 / 1] +Pass Web Animations: property from [auto] to [2 / 1] at (1) should be [2 / 1] +Pass Web Animations: property from [auto] to [2 / 1] at (1.5) should be [2 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (-0.3) should be [auto 1 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0) should be [auto 1 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0.3) should be [auto 1 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (-0.3) should be [auto 1 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0) should be [auto 1 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0.3) should be [auto 1 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (-0.3) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (0) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (0.3) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions: property from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (-0.3) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (0) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (0.3) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Transitions with transition: all: property from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (-0.3) should be [auto 1 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (0) should be [auto 1 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (0.3) should be [auto 1 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1] +Pass CSS Animations: property from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (-0.3) should be [auto 1 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (0) should be [auto 1 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (0.3) should be [auto 1 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (0.5) should be [2 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (0.6) should be [2 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (1) should be [2 / 1] +Pass Web Animations: property from [auto 1 / 1] to [2 / 1] at (1.5) should be [2 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 0] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (0) should be [1 / 0] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (0.3) should be [1 / 0] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (1) should be [1 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 0] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (0) should be [1 / 0] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (0.3) should be [1 / 0] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (1) should be [1 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (0) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (0.3) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (1) should be [1 / 1] +Pass CSS Transitions: property from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (0) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (0.3) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (1) should be [1 / 1] +Pass CSS Transitions with transition: all: property from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 0] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (0) should be [1 / 0] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (0.3) should be [1 / 0] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (1) should be [1 / 1] +Pass CSS Animations: property from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (-0.3) should be [1 / 0] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (0) should be [1 / 0] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (0.3) should be [1 / 0] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (0.5) should be [1 / 1] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (0.6) should be [1 / 1] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (1) should be [1 / 1] +Pass Web Animations: property from [1 / 0] to [1 / 1] at (1.5) should be [1 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (-0.3) should be [1 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (0) should be [1 / 1] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (0.3) should be [1 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (1) should be [0 / 1] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (-0.3) should be [1 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (0) should be [1 / 1] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (0.3) should be [1 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (1) should be [0 / 1] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (-0.3) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (0) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (0.3) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (1) should be [0 / 1] +Pass CSS Transitions: property from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (-0.3) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (0) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (0.3) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (1) should be [0 / 1] +Pass CSS Transitions with transition: all: property from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (-0.3) should be [1 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (0) should be [1 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (0.3) should be [1 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (1) should be [0 / 1] +Pass CSS Animations: property from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (-0.3) should be [1 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (0) should be [1 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (0.3) should be [1 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (0.5) should be [0 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (0.6) should be [0 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (1) should be [0 / 1] +Pass Web Animations: property from [1 / 1] to [0 / 1] at (1.5) should be [0 / 1] +Pass Compositing: property underlying [2 / 1] from replace [0.5 / 1] to add [1 / 1] at (0) should be [0.5 / 1] +Fail Compositing: property underlying [2 / 1] from replace [0.5 / 1] to add [1 / 1] at (0.5) should be [1 / 1] +Fail Compositing: property underlying [2 / 1] from replace [0.5 / 1] to add [1 / 1] at (1) should be [2 / 1] \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-sizing/animation/aspect-ratio-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-sizing/animation/aspect-ratio-interpolation.html new file mode 100644 index 00000000000..980767f7195 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-sizing/animation/aspect-ratio-interpolation.html @@ -0,0 +1,130 @@ + + +aspect-ratio interpolation + + + + + + + + + + + + + + +