mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02: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.
12 lines
489 B
Plaintext
12 lines
489 B
Plaintext
Harness status: OK
|
|
|
|
Found 6 tests
|
|
|
|
5 Pass
|
|
1 Fail
|
|
Pass Start .inner transition based on inherited after-change color from .outer (lime)
|
|
Pass Start .inner transition based on inherited after-change background-color from .outer (lime)
|
|
Pass Initial computed styles
|
|
Pass Start inner transitions based on inherited after-change color and word-spacing from two different ancestors
|
|
Pass @starting-style rules should not apply to after-change style
|
|
Fail @container rules apply to after-change style |