wpt / css / css-fonts / font-stretch-interpolation-math-functions.html

Status: FAIL | Duration: 191ms | Subtests: 36/48 | Open test on wpt.live | wpt.fyi

Data from commit:
7727414 ci: report WPT subtest changes in the PR description (#826) (2026-09-02)

SubtestStatusMessage
CSS Transitions: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]PASS
CSS Transitions: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]PASS
CSS Transitions: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]PASS
CSS Transitions: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]PASS
CSS Transitions: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]PASS
CSS Transitions: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]PASS
CSS Transitions with transition: all: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]PASS
CSS Transitions with transition: all: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]PASS
CSS Transitions with transition: all: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]PASS
CSS Transitions with transition: all: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]PASS
CSS Transitions with transition: all: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]PASS
CSS Transitions with transition: all: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]PASS
CSS Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]PASS
CSS Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]PASS
CSS Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]PASS
CSS Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]PASS
CSS Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]PASS
CSS Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]PASS
Web Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]FAILassert_true: Web Animations should be supported expected true got false
CSS Transitions: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]PASS
CSS Transitions: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]PASS
CSS Transitions: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]PASS
CSS Transitions: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]PASS
CSS Transitions: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]PASS
CSS Transitions: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]PASS
CSS Transitions with transition: all: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]PASS
CSS Transitions with transition: all: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]PASS
CSS Transitions with transition: all: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]PASS
CSS Transitions with transition: all: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]PASS
CSS Transitions with transition: all: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]PASS
CSS Transitions with transition: all: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]PASS
CSS Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]PASS
CSS Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]PASS
CSS Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]PASS
CSS Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]PASS
CSS Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]PASS
CSS Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]PASS
Web Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (-1) should be [20%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.125) should be [110%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (0.875) should be [170%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (1) should be [180%]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <font-stretch> from [calc(sign(20rem - 20px) * 100%)] to [calc(sign(20rem - 20px) * 180%)] at (2) should be [260%]FAILassert_true: Web Animations should be supported expected true got false

/css/css-fonts/font-stretch-interpolation-math-functions.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>font-size-adjust interpolation with css math functions</title>
    <link rel="help" href="https://drafts.csswg.org/css-fonts-5/#font-size-adjust-prop">
    <link rel="help" href="https://drafts.csswg.org/css-values/#sign-funcs">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/css/support/interpolation-testcommon.js"></script>
  </head>

  <style>
    :root {
      font-size: 10px;
    }
  </style>
  <body>
    <script>
      test_interpolation({
        property: 'font-stretch',
        from: '100%',
        to: 'calc(sign(20rem - 20px) * 180%)',
      }, [
        {at: -1, expect: '20%'},
        {at: 0, expect: '100%'},
        {at: 0.125, expect: '110%'},
        {at: 0.875, expect: '170%'},
        {at: 1, expect: '180%'},
        {at: 2, expect: '260%'}
      ]);

      test_interpolation({
        property: 'font-stretch',
        from: 'calc(sign(20rem - 20px) * 100%)',
        to: 'calc(sign(20rem - 20px) * 180%)',
      }, [
        {at: -1, expect: '20%'},
        {at: 0, expect: '100%'},
        {at: 0.125, expect: '110%'},
        {at: 0.875, expect: '170%'},
        {at: 1, expect: '180%'},
        {at: 2, expect: '260%'}
      ]);
    </script>
  </body>
</html>