Re: [csswg-drafts] [css-color-4] Resolving and serializing the opacity property (#8311)

At the current state of #5642, I would just write `[0,1]` instead of `[0.0,1.0]` to define the range, and remove *exactly*.

But *"remove `x` if it serializes as the default value"* is probably the simplest implementation and makes sense to me. It implies that `calc(1)` cannot be omitted, but some browsers currently remove math functions representing default values in some places.

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


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

Received on Thursday, 25 January 2024 14:50:47 UTC