Tim Ledbetter
8a398e7a88
LibWeb: Parse all transition-property value as keyword
...
We were previously parsing this value, as a custom-ident, meaning that
the code path for handling the `all` case wasn't being followed.
2025-04-27 09:49:00 +01:00
Tim Ledbetter
64577ad704
LibWeb: Allow multiple values for the transition-duration property
2025-04-23 21:02:59 +01:00
Tim Ledbetter
04d7228c51
LibWeb: Implement interpolation of repeatable lists
2025-04-23 09:13:45 +01:00
Tim Ledbetter
16e83f0b35
Tests: Remove some animation tests from the ignore list
...
These tests are relevant to the fixes being made in later commits
2025-04-23 09:13:45 +01:00
Tim Ledbetter
3186adeaa1
LibWeb/CSS: Don't serialize longhands which match their initial values
...
Shorthand subproperties that match their initial values are now
excluded from serialization, by default.
Properties where this behavior is not desired, like `gap`, are
special-cased.
2025-04-07 11:38:56 +01:00
Tim Ledbetter
8738987e44
LibWeb: Return absolutized computed value for border width properties
2025-04-04 23:45:06 +02:00
Tim Ledbetter
f6a8e5aa68
LibWeb: Use correct canonical serialization for BorderRadiusStyleValue
2025-03-18 21:55:06 +01:00
Tim Ledbetter
85728b297f
LibWeb: Ensure the shortest serialization is used for border-radius
...
This implementation also fixes an issue where the individual components
of the `border-radius` shorthand were always assumed to be of type
`BorderRadiusStyleValue`, which could lead to a crash when CSS-wide
keywords were used.
2025-03-18 21:55:06 +01:00
Tim Ledbetter
18cccd7633
LibWeb/CSS: Don't allow negative values in border-radius property
2025-03-14 15:07:57 +00:00
Tim Ledbetter
632fc73643
LibWeb/CSS: Don't allow negative border radius in box-shadow property
2025-03-14 15:07:57 +00:00
Tim Ledbetter
dc58c11217
LibWeb: Reject invalid background-position-* property values
2025-03-14 15:07:57 +00:00
Tim Ledbetter
764b80a1cc
LibWeb/CSS: Reject radial-gradient functions with negative size
2025-03-14 15:07:57 +00:00
Gingeh
84150f972f
LibWeb: Properly serialize position/edge style values
2024-12-13 11:35:38 +00:00
Andreas Kling
87dd8714c5
Tests: Import WPT tests from css/css-backgrounds/animation
...
These give us some basic coverage of backgrounds, borders and animation
mechanisms.
2024-11-07 22:50:33 +01:00