wpt / css / css-shapes / animation / shape-image-threshold-interpolation.html

Status: FAIL | Duration: 306ms | Subtests: 0/120 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]FAILassert_true: 'to' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]FAILassert_true: 'to' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]FAILassert_true: 'to' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]FAILassert_true: 'to' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]FAILassert_true: 'to' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]FAILassert_true: 'to' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]FAILassert_true: 'to' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]FAILassert_true: 'to' value should be supported expected true got false
Web Animations: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]FAILassert_true: Web Animations should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]FAILassert_true: Web Animations should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]FAILassert_true: Web Animations should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]FAILassert_true: Web Animations should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]FAILassert_true: 'from' value should be supported expected true got false
CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]FAILassert_true: 'from' value should be supported expected true got false
Web Animations: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]FAILassert_true: Web Animations should be supported expected true got false

/css/css-shapes/animation/shape-image-threshold-interpolation.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>shape-image-threshold interpolation</title>
<link rel="help" href="https://drafts.csswg.org/css-shapes/#shape-image-threshold-property">
<meta name="assert" content="shape-image-threshold supports animation by computed value">

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>

<style>
.parent {
  shape-image-threshold: 0.4;
}
.target {
  shape-image-threshold: 0.6;
}
</style>

<body></body>

<script>
test_interpolation({
  property: 'shape-image-threshold',
  from: neutralKeyframe,
  to: '0.8',
}, [
  {at: -1.5, expect: '0.3'},
  {at: -0.5, expect: '0.5'},
  {at: 0, expect: '0.6'},
  {at: 0.5, expect: '0.7'},
  {at: 1, expect: '0.8'},
  {at: 1.5, expect: '0.9'},
]);

test_interpolation({
  property: 'shape-image-threshold',
  from: 'initial',
  to: '0.8',
}, [
  {at: -1.5, expect: '0'},
  {at: -0.5, expect: '0'},
  {at: 0, expect: '0'},
  {at: 0.5, expect: '0.4'},
  {at: 1, expect: '0.8'},
  {at: 1.5, expect: '1'},
]);

test_interpolation({
  property: 'shape-image-threshold',
  from: 'inherit',
  to: '0.8',
}, [
  {at: -1.5, expect: '0'},
  {at: -0.5, expect: '0.2'},
  {at: 0, expect: '0.4'},
  {at: 0.5, expect: '0.6'},
  {at: 1, expect: '0.8'},
  {at: 1.5, expect: '1'},
]);

test_interpolation({
  property: 'shape-image-threshold',
  from: 'unset',
  to: '0.8',
}, [
  {at: -1.5, expect: '0'},
  {at: -0.5, expect: '0'},
  {at: 0, expect: '0'},
  {at: 0.5, expect: '0.4'},
  {at: 1, expect: '0.8'},
  {at: 1.5, expect: '1'},
]);

test_interpolation({
  property: 'shape-image-threshold',
  from: '0.5',
  to: '1'
}, [
  {at: -1.5, expect: '0'},
  {at: -0.5, expect: '0.25'},
  {at: 0, expect: '0.5'},
  {at: 0.5, expect: '0.75'},
  {at: 1, expect: '1'},
  {at: 1.5, expect: '1'}
]);
</script>