web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
4.89k stars 3.05k forks source link

[css-transitions] css/css-transitions/properties-value-003.html incorrectly expects discrete properties to yield CSS Transitions #26822

Open graouts opened 3 years ago

graouts commented 3 years ago

The tests at css/css-transitions/properties-value-003.html incorrectly expects the position property to yield a CSS Transition. However, the CSS Transitions spec says the following in its Starting of transitions section:

When comparing the before-change style and after-change style for a given property, the property values are transitionable if they have an animation type that is neither not animatable nor discrete.

The spec for the position property says that its animation type is "discrete".

We need to fix this test to not expect transitions to run for discrete properties such as position.

This was uncovered while fixing WebKit bug 219692.

graouts commented 3 years ago

Cc @rodneyrehm who authored this test. Ideally we wouldn't just remove discrete properties but test specifically that discrete properties do not yield CSS Transitions.

foolip commented 3 years ago

@progers do you know who works on transforms transitions in Chromium and could be looped into issues like this?

fsoder commented 3 years ago

@flackr ^