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)

While being able to control the clipping with just 2 properties is nice, I'm not sure the required amount of workarounds affecting existing properties is really worth it. It may actually be less problematic to re-add `object-overflow`, then on replaced elements:

 - The default `object-overflow: clip` clips to the content area regardless of `overflow` and `overflow-clip-margin`
 - `object-overflow: visible` + `overflow: visible` shows all overflow
 - `object-overflow: visible` + `overflow: clip` + `overflow-clip-margin` clips to the desired area
 - `overflow` different than `visible` behaves as `clip`
 - `object-overflow`, `overflow` and `overflow-clip-margin` have a consistent default value

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


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

Received on Thursday, 15 September 2022 07:57:56 UTC