- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 25 Feb 2026 16:48:24 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-overflow-4] overflow-clip-margin's omitted default box`, and agreed to the following: * `RESOLVED: we spec what has been implemented for overflow-clip-margin, but open to creating a value if avoiding the issue is warranted` <details><summary>The full IRC log of that discussion</summary> <ydaniv> emilio: overflow clip margin as a weird default value that cahnges whether it's a replaced element or not<br> <ydaniv> ... basically all browsers that shipped this, change the UA stylesheet that on replaced elements default to content-box<br> <ydaniv> ... I know it was intentional, I think it was done for compat reasons, and we got away with implementing something simpler, so maybe we should spec that<br> <ydaniv> astearns: seems reasonable<br> <ydaniv> emilio: this only matters if you specify OCM [missed]<br> <ydaniv> fantasai: I think we didn't know if something is replaced at style time<br> <ydaniv> emilio: yes<br> <ydaniv> fantasai: it's generated content and not captured<br> <astearns> s/[missed]/0px or initial/<br> <ydaniv> emilio: but got away with it<br> <ydaniv> astearns: so should we make this change? or we need more time to take a look at side effect of this?<br> <ydaniv> emilio: this is effectively specifying the Blink and FF behavior, so should be no risk<br> <ydaniv> ... rather do the simple thing<br> <ydaniv> astearns: if we have a value set to what we expect to be on the reaplced element, but get the fallback instead...<br> <ydaniv> emilio: the behavior that is implemented currently is that video/iframe/img have OCM: content-box, if it's not replaced it's padding-box<br> <ydaniv> ... it's definitely easier, less magic<br> <ydaniv> ... current spec is a magic value<br> <ydaniv> ... having a default of padding-box is a lot simpler, and speccing reallty makes sense if it's simple<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/7144#issuecomment-1235830910 magic proposed<br> <ydaniv> astearns: we can specify reality as suggested, and if there's a use-case for some better magic, where the UA rules are mis-applied, then we'd have a reason to go into the effort<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/7144#issuecomment-1431657225 magic resolved<br> <astearns> s/is a magic value/is a magic value but we don’t specify it/<br> <ydaniv> fantasai: added the links, should be fine to go with what we've got for now<br> <ydaniv> ... potentially clipping all texts, fine with not getting wrong clip for generated content<br> <ydaniv> PROPOSED RESOLUTION: we spec what has been implemented, but open to creating a value if avoiding the issue is warranted<br> <ydaniv> fantasai: should we consider using overflow auto so that all text gets clipped by defualt?<br> <fantasai> s/all/alt/<br> <ydaniv> astearns: I think it's not a good solution but may be a second issue<br> <ydaniv> fantasai: that was the main motivation for having a magic value<br> <ydaniv> astearns: objections that we specify OCM magic value as it's currently implemented?<br> <ydaniv> RESOLVED: we spec what has been implemented for overflow-clip-margin, but open to creating a value if avoiding the issue is warranted<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13185#issuecomment-3960591296 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 February 2026 16:48:25 UTC