Re: [csswg-drafts] [css-syntax] Should numbers have type `integer` whenever the actual value is an integer? (#10238)

> Sure, but making invalid things valid is something we do all the time. We could do some compat analysis and see if it actually breaks anything. I think it would save authors from a lot of confusing mistakes.

On z-index, I would be surprised if it didn't break things. People through random weird z-indexes at things to try and solve problems all the time, and often it doesn't work, and then they do something else but leave the inappropriate z-index behind. causing previously invalid z-index to become valid seems very likely to break things.

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


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

Received on Thursday, 13 June 2024 11:22:16 UTC