Re: [csswg-drafts] [css-overflow-3] What clips scrollable overflow? (#8607)

The CSS Working Group just discussed `[css-overflow-3] What clips scrollable overflow?`, and agreed to the following:

* `RESOLVED: Explicitly define that overflow:clip does clip scrollable overflow`
* `RESOLVED: clip and clip-path do not clip scrollable overflow`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> fantasai: We are trying to figure out how we're defining scrollable overflow. clip-ath seems to not clip scrollable overflow. clip has no interop. What behavior do we want ehre<br>
&lt;dael> fantasai: smfr said clip-ath should be like a mask. iank_ suggested clip and clip-path should behave the same<br>
&lt;dael> florian: So this is not visually clipping, but clipping the effect on scrollability<br>
&lt;dael> iank_: Yes. And I somewhat agree with smfr as well<br>
&lt;dael> fantasai: Prop: Overflow-clip clips scrollable overflow. clip-path and clip do not clip scrollable overflow; they just clip painting<br>
&lt;dael> astearns: A bit of a concern that if we define clip to have this behavior it may not actually come to be. I don't think browser impl won't be all that concerned about interop on clip<br>
&lt;dael> iank_: webkit and blink are consistent with clip. I think Gecko is only odd one out<br>
&lt;dael> astearns: Other comments?<br>
&lt;dael> astearns: There were results in test case. What does spec say?<br>
&lt;dael> fantasai: I think it's not defined for clip path<br>
&lt;dael> florian: overflow:clip not an objection but feeling a bit odd. If I'm not misremebering in terms of floats poking out overflow:clip lets them do that. So overflow:clip does clip geometry for scrollable and not for floats. Maybe a bit weird but I guess okay<br>
&lt;dael> astearns: Sounds like a candidate for a test case<br>
&lt;dael> astearns: Is it the case that overflow:clip is specced to say it clips scrollable overflow?<br>
&lt;dael> astearns: Do we need two resolutions, one for overflow:clip and one for clip and clip path? Or is overflow:clip handled?<br>
&lt;dael> florian: In the spec overflow:clip is spec to say UI is not supposed to provide scrolling interface. At time written probably meant for element, not its parents. Maybe needs clarifications<br>
&lt;chrishtr> q+<br>
&lt;dael> astearns: Prop 1: Explicitly define that overflow:clip does clip scrollable overflow<br>
&lt;dael> astearns: According to test case we're speccing reality<br>
&lt;dael> chrishtr: In all browsers, right?<br>
&lt;dael> iank_: Correct<br>
&lt;dael> astearns: Objections?<br>
&lt;chrishtr> sgtm<br>
&lt;dael> RESOLVED: Explicitly define that overflow:clip does clip scrollable overflow<br>
&lt;astearns> ack chrishtr<br>
&lt;dael> chrishtr: According to issue css-clip does not have interop<br>
&lt;dael> iank_: Webkit and Blink are the same. only Gecko clips scrolable overflow<br>
&lt;dael> chrishtr: On WK and Blink neither clip nor clip-path effects scrollable overflow<br>
&lt;dael> iank_: Right. But only clip in Gecko<br>
&lt;dael> chrishtr: Prop is match WK and Blink?<br>
&lt;dael> iank_: Yes<br>
&lt;dael> chrishtr: Makes sense<br>
&lt;dael> dholbert: Makes sense to me too. Digging into code to understand why they're different but not sure. Seems reasonable<br>
&lt;dael> iank_: Clip is such an old property I wouldn't be surprised if it's old behavior<br>
&lt;dael> astearns: Other comments?<br>
&lt;dael> astearns: Prop: We specify that clip and clip-path do not clip scrollable overflow<br>
&lt;dael> chrishtr: What about masking? Has anyone checked that?<br>
&lt;dael> astearns: I'm guessing we have not<br>
&lt;dael> chrishtr: Pretty sure it does the same as clip-path in blink. I think we should align them all together<br>
&lt;dael> astearns: Makes sense to me<br>
&lt;dael> dholbert: Might be good to do testing o nthat before we resolve<br>
&lt;dael> astearns: Let's resolve on clip and clip-path for now and then let's take a look at masking. Let's have that be a separate issue.<br>
&lt;dael> chrishtr: Okay<br>
&lt;dael> astearns: Prop: clip and clip-path do not clip scrollable overflow<br>
&lt;dael> astearns: Obj?<br>
&lt;dael> RESOLVED: clip and clip-path do not clip scrollable overflow<br>
&lt;dael> ACTION chrishtr check out if masking has the same issue as clip and open an issue if necessary<br>
&lt;dael> iank_: I'd be surprised if it doesn't behave correctly<br>
&lt;dael> astearns: But the spec may need words<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8607#issuecomment-1533883987 using your GitHub account


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

Received on Wednesday, 3 May 2023 23:38:53 UTC