Re: [csswg-drafts] [css-images-4] Restriction on `<percentage>` values in `stripes()` (#9551)

I do not think `calc(-1% + 1%)` should be an invalid `<percentage [0,100]>` and:

  > Parse-time range-checking of values is not performed within math functions, and therefore out-of-range values do not cause the declaration to become invalid.

https://drafts.csswg.org/css-values-4/#calc-range

But I wonder why some values are invalid when out of range, instead of being consistently clamped at computed value time, so I am also fine with dropping the restriction. Cc @SebastianZ, who may disagree.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9551#issuecomment-1792826962 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 3 November 2023 17:10:03 UTC