- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Aug 2024 13:46:54 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-overflow] Should overflow-clip-margin apply to scrollable boxes? == I kinda expected `overflow-clip-margin: content-box` to work on scrollable boxes. This would only be useful for `content-box` (because you can't specify a negative clip margin). I.e. I'd expect these two elements to render the same. ```html <!doctype html> <style> div { width: 50px; height: 50px; border: 1px solid; padding: 10px; overflow-clip-margin: content-box; } span { height: 100px; width: 100px; background: green } </style> <div style="overflow: clip"><span></span></div> <div style="overflow: hidden"><span></span></div> ``` Should they? That would allow achieving the same magic clipping behavior that some form controls (like `<input>`) have. cc @dshin-moz @chrishtr @mfreed7 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10745 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 August 2024 13:46:55 UTC