mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-05-07 11:00:32 +00:00
When starting transitions we compute the after-change style, for any inherited properties this should include the non-animated value. Previously we were only inheriting the animated value and treating it as non-animated so were instead including the animated value. This commit fixes that by inheriting both the animated and non-animated values (with the former being stored in `m_animated_property_values`, and the latter in `m_property_values`). This gains us 12 new WPT passes. This brings with it 252 new WPT fails from the various 'events' tests in css/css-transitions/properties-value-inherit-001.html, however these also fail in other browsers (Chrome, Edge and Firefox) and the behaviour that causes these failures is specifically mentioned in the spec. |
||
|---|---|---|
| .. | ||
| animations | ||
| parsing | ||
| support | ||
| after-change-style-inherited.html | ||
| CSSTransition-currentTime.tentative.html | ||
| CSSTransition-effect.tentative.html | ||
| CSSTransition-ready.tentative.html | ||
| CSSTransition-startTime.tentative.html | ||
| event-dispatch.tentative.html | ||
| events-001.html | ||
| inherit-height-transition.html | ||
| properties-value-001.html | ||
| properties-value-002.html | ||
| properties-value-inherit-001.html | ||
| properties-value-inherit-002.html | ||
| transitioncancel-003.html | ||
| transitionevent-interface.html | ||