Re: [csswg-drafts] [css-contain] editorial: Paint Containment description is incomprehensible (#4946)

Issue 1:

I think we can replace "the paint of the descendants" with "any ink or scrollable overflow" without altering the effect. I think the original intent of "the paint" was to talk about things that would be ink or scrollable overflow if they overflowed, but in this case we only care about what happens to that when it does overflow, so we can talk about the overflow using established terminology instead.

* I am less sure about what "and their geometry" was supposed to be about. @tabatkins ? Maybe it is supposed to be about was outlines (and possible other things like outlines): since outlines are pretty flexible about what they can be around, the "geometry" of anything that pokes out of the containing box might be taken into account, but this was trying to say that it must not be. If that's that, maybe it should be moved into a separate and clearer bullet point. If it's something else, what?


Issue 2:
It refers to the whole paragraph: it only behaves as `overflow: clip` if `overflow` was otherwise `visible`. If it was some other value, it says unchanged. Hence the "does not include the creation of any mechanism… nor does it inhibit…".

How about rephrasing the note into
> The behavior is described in this paragraph is equivalent to changing `overflow:visible` into `overflow:clip` at used value time, while leaving other values of `overflow` unchanged.


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

Received on Monday, 13 April 2020 02:34:23 UTC