Re: [csswg-drafts] [css-values-4] `snap a length as a border width`: meaning of "Assert: len is non-negative."? (#13795)

> It means that whatever invokes the "snap a length as a border width" algorithm should make sure that len is non-negative.

... This doesn't seem great? It should snap a negative number N as `-|N|`.

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


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

Received on Friday, 8 May 2026 18:32:03 UTC