LibWeb: Clamp calculated steps() interval count using normal system

Previously we were doing this ad-hoc later in the process but we now
have the `calc` clamping system which can simplify things.

This reveals some false-positives in that we don't handle relative
lengths within these `calc`s but these are fixed in the next commit
This commit is contained in:
Callum Law 2025-10-10 14:32:29 +13:00 committed by Sam Atkins
parent 06a57a280d
commit ad41f053b8
Notes: github-actions[bot] 2025-10-20 10:29:14 +00:00
5 changed files with 25 additions and 23 deletions

View file

@ -568,6 +568,8 @@ private:
AngularColorStopList,
CubicBezierFunctionXCoordinate,
ShadowBlurRadius,
StepsIntervalsJumpNone,
StepsIntervalsNormal,
TranslateZArgument
};
// FIXME: Use PropertyNameAndID instead of PropertyID as the context, for registered custom properties.