Re: [csswg-drafts] [css-sizing-3] add ability to make the padding size include the border-width (#7770)

For fallback purposes, I wonder if it should be an opt-in keyword in the `border-with` (and its longhands), so that if you try to change the width of the border without affecting the size of the box, if you're not in a browser that knows about this opt-in, it fails to change the border size and thus succeeds at preserving the box's size.

In any case, it'll be possible to `@supports` your way through this and have conditional styles, but if you don't go through that, what's more important in a legacy UA: respecting the desired border size, or respecting the lack of impact on the box's overall size?

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


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

Received on Thursday, 7 November 2024 03:11:07 UTC