-
Notifications
You must be signed in to change notification settings - Fork 717
[css-overflow-3] Clarify when overflow-clip-margin has an effect #5800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The CSS Working Group just discussed The full IRC log of that discussion<dael> Topic: [css-overflow-3] Clarify when overflow-clip-margin has an effect<dael> github: https://github.com//issues/5800 <dael> astearns: Let's try <dael> vmpstr: Clarifying a sentence in overflow that says [reads]. Clarifying what "this property" refers to <dael> vmpstr: Paint containment clips, would like overflow:clip to extend paint containment <dael> florian: Yes, contain:paint applys. Poorly worded, editor will make it better <dael> astearns: Will handle by making it explicit contain:paint applies? <dael> florian: Not sure how I'll rephrase but the answer is it applies and we'll fix the sentence <dael> vmpstr: Maybe remove the sentence? <dael> florian: Possibly. It's 3am so I'm not awake enough to draft the sentence on the fly. <dael> fantasai: Can't remove the sentence b/c it doesn't apply to most elements. Some clipping effects it applies and some where it doesn't |
@fantasai just to clarify, we can't remove the sentence because there are properties that clip specifically to |
Another nit about this spec snippet -- we should rephrase the text " Expanding that clause slightly, it's currently saying: I think this wants to say "(or another property whose used value is defined to...." or something along those lines. |
I moved the initial sentence down into a note - the property's sole effect is to modify the overflow clip edge, so it doesn't need to specify what properties use that edge to do something, but it's still worthwhile to point out the effects in a note. Also rephrased it a bit to get around @dholbert's issue. |
…use that's what's not obvious. #5800
overflow-clip-margin has some text when defining the value that reads as follows:
I think it's ambiguous what
this
refers to when talking about another property:Is this saying "another property that respects overflow: clip"
or "another property that respects overflow-clip-margin"
I think it's the latter. But in general, do we need this text? It seems like we can just define
overflow-clip-margin
as affectingoverflow clip edge
unconditionally. Then, if some property clips tooverflow clip edge
then it will be affected byoverflow-clip-margin
For context,
contain: paint
is such a property that clips tooverflow clip edge
, and I think that it should be affected byoverflow-clip-margin
, but one can read it differently.The text was updated successfully, but these errors were encountered: