wpt / css / CSS2 / floats / float-no-interpolation.html

Status: FAIL | Duration: 251ms | Subtests: 53/66 | 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 with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (-0.3) should be [initial]PASS
CSS Transitions with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (0) should be [initial]PASS
CSS Transitions with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (0.3) should be [initial]PASS
CSS Transitions with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (0.5) should be [right]PASS
CSS Transitions with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (0.6) should be [right]PASS
CSS Transitions with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (1) should be [right]PASS
CSS Transitions with transition-behavior:allow-discrete: property <float> from [initial] to [right] at (1.5) should be [right]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (-0.3) should be [initial]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (0) should be [initial]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (0.3) should be [initial]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (0.5) should be [right]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (0.6) should be [right]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (1) should be [right]PASS
CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <float> from [initial] to [right] at (1.5) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (-0.3) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (0) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (0.3) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (0.5) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (0.6) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (1) should be [right]PASS
CSS Transitions: property <float> from [initial] to [right] at (1.5) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (-0.3) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (0) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (0.3) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (0.5) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (0.6) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (1) should be [right]PASS
CSS Transitions with transition: all: property <float> from [initial] to [right] at (1.5) should be [right]PASS
CSS Animations: property <float> from [initial] to [right] at (-0.3) should be [initial]PASS
CSS Animations: property <float> from [initial] to [right] at (0) should be [initial]PASS
CSS Animations: property <float> from [initial] to [right] at (0.3) should be [initial]PASS
CSS Animations: property <float> from [initial] to [right] at (0.5) should be [right]PASS
CSS Animations: property <float> from [initial] to [right] at (0.6) should be [right]PASS
CSS Animations: property <float> from [initial] to [right] at (1) should be [right]PASS
CSS Animations: property <float> from [initial] to [right] at (1.5) should be [right]PASS
Web Animations: property <float> from [initial] to [right] at (-0.3) should be [initial]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [initial] to [right] at (0) should be [initial]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [initial] to [right] at (0.3) should be [initial]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [initial] to [right] at (0.5) should be [right]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [initial] to [right] at (0.6) should be [right]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [initial] to [right] at (1) should be [right]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [initial] to [right] at (1.5) should be [right]FAILassert_true: Web Animations should be supported expected true got false
CSS Transitions: property <float> from [left] to [right] at (-1) should be [left]PASS
CSS Transitions: property <float> from [left] to [right] at (0) should be [left]PASS
CSS Transitions: property <float> from [left] to [right] at (0.4) should be [left]PASS
CSS Transitions: property <float> from [left] to [right] at (0.5) should be [right]PASS
CSS Transitions: property <float> from [left] to [right] at (1) should be [right]PASS
CSS Transitions: property <float> from [left] to [right] at (1.5) should be [right]PASS
CSS Transitions with transition: all: property <float> from [left] to [right] at (-1) should be [left]PASS
CSS Transitions with transition: all: property <float> from [left] to [right] at (0) should be [left]PASS
CSS Transitions with transition: all: property <float> from [left] to [right] at (0.4) should be [left]PASS
CSS Transitions with transition: all: property <float> from [left] to [right] at (0.5) should be [right]PASS
CSS Transitions with transition: all: property <float> from [left] to [right] at (1) should be [right]PASS
CSS Transitions with transition: all: property <float> from [left] to [right] at (1.5) should be [right]PASS
CSS Animations: property <float> from [left] to [right] at (-1) should be [left]PASS
CSS Animations: property <float> from [left] to [right] at (0) should be [left]PASS
CSS Animations: property <float> from [left] to [right] at (0.4) should be [left]PASS
CSS Animations: property <float> from [left] to [right] at (0.5) should be [right]PASS
CSS Animations: property <float> from [left] to [right] at (1) should be [right]PASS
CSS Animations: property <float> from [left] to [right] at (1.5) should be [right]PASS
Web Animations: property <float> from [left] to [right] at (-1) should be [left]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [left] to [right] at (0) should be [left]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [left] to [right] at (0.4) should be [left]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [left] to [right] at (0.5) should be [right]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [left] to [right] at (1) should be [right]FAILassert_true: Web Animations should be supported expected true got false
Web Animations: property <float> from [left] to [right] at (1.5) should be [right]FAILassert_true: Web Animations should be supported expected true got false

/css/CSS2/floats/float-no-interpolation.html

<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>

<body>
<script>
// Use default transition-behavior: normal.
test_no_interpolation({
  property: 'float',
  from: 'initial',
  to: 'right'
});

test_interpolation({
  property: 'float',
  behavior: 'allow-discrete',
  from: 'left',
  to: 'right',
}, [
  {at: -1, expect: 'left'},
  {at: 0, expect: 'left'},
  {at: 0.4, expect: 'left'},
  {at: 0.5, expect: 'right'},
  {at: 1, expect: 'right'},
  {at: 1.5, expect: 'right'},
]);
</script>