Re: [csswg-drafts] [css-images-4][css-overflow-3] How do `object-overflow` and `object-view-box` interact with `overflow` and `overflow-clip-margin`? (#7144)

> The default object-overflow: clip clips to the content area regardless of overflow and overflow-clip-margin

This doesn't hold for SVG which already causes `overflow: visible` to show all overflow. We could have a different default value of `object-overflow: clip` just for SVG to work around that. But the property combination above is not intuitive for a developer using these properties.

If the SVG behaviour didn't exist, it might've made sense to say `overflow` is always ignored on replaced elements in favour of `object-overflow`. And `object-overflow` works the same as `overflow` (except 2 values). But since SVG has already set up the pattern to use `overflow` on a replaced element, it makes sense to standardize that pattern for all replaced elements.

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


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

Received on Monday, 19 September 2022 23:28:20 UTC