Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-transitions/after-change-style-inherited.txt
Callum Law 9a8c6ff8c3 LibWeb: Inherit animated CSS property values separately
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.
2025-08-18 11:18:34 +01:00

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