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)

Agenda+ to confirm that we want to make the following changes (currently in the draft) and resolve to republish CSS Overflow 3:

- Extend applicability of `overflow` to replaced elements.
- Define all overflow of replaced content as ink overflow (not scrollable).
- Define all values of `overflow` other than `visible` to behave as `clip` on replaced elements.
- Recommend that host languages apply `overflow: clip; overflow-clip-margin: content-box` to replaced elements (with follow-up to make those specific changes to the HTML spec).
- Add a note about this change from CSS2.1 pointing back at this discussion.
- Mark this new behavior at-risk? (I recommend doing so for now.)

The main downside to these changes, imho, is that elements that become replaced via CSS `content` will not get the proper defaults. Also alt text will also be clipped by default, when elements such as IMG and OBJECT are rendered with their fallback content. If we want to address these concerns, we can instead add a new initial value to `overflow` (e.g. `normal`) that computes to either `visible` or `clip` depending on whether the element is actually replaced.

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


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

Received on Friday, 2 September 2022 19:25:15 UTC