Re: [csswg-drafts] [css-gaps-1] Insets instead of outsets (#12848)

> It would be really confusing, and likely problematic for things like calc(), if positive values went "in" for px and "out" for %

It's not problematic for calc() as long as it's defined in a consistent way, where the %s resolve against a negative length. background-position works somewhat similarly, where the % is just resolved against a non-obvious length (container size minus image size).

But I agree that it's *confusing* and we shouldn't do that. ^_^

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


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

Received on Tuesday, 14 October 2025 18:06:21 UTC