Re: [csswg-drafts] [css-values-4] What happens to sign(%) when % has no meaning? (#12204)

It seems that Firefox and Chrome agree that both `z-index:sign(10%)` and `z-index:sign(1% - 1)` are invalid, whereas Safari only thinks that `z-index:sign(1% - 1)` is invalid. (https://jsbin.com/wodiwagoye)

> Is it desirable 

It doesn't seem _too_ unreasonable that `z-index:sign(10%)` should work. I would be satisfied with @Loirooriol's explanation had it not been for the inconsistency @cdoublev found. But I don't have strong opinions on this as long as it's defined.

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


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

Received on Wednesday, 21 May 2025 11:13:22 UTC