LibWeb: Clamp <radial-size> calculated length percentages

The spec requires `<radial-size>` to be non-negative
This commit is contained in:
Callum Law
2026-01-03 19:24:42 +13:00
committed by Sam Atkins
parent b42402514e
commit 41b2496d3e
Notes: github-actions[bot] 2026-01-05 11:43:21 +00:00
3 changed files with 11 additions and 6 deletions

View File

@@ -75,6 +75,7 @@ enum SpecialContext : u8 {
CubicBezierFunctionXCoordinate,
DOMMatrixInitString,
MediaCondition,
RadialSizeLengthPercentage,
RandomValueSharingFixedValue,
ShadowBlurRadius,
StepsIntervalsJumpNone,