- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 09 Jun 2021 16:48:41 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `should it be possible for an element with contain:paint to be part of a transform-style:preserve-3d scene?`, and agreed to the following: * `RESOLVED: add contain:paint to list of grouping properties` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: should it be possible for an element with contain:paint to be part of a transform-style:preserve-3d scene?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/6202<br> <dael> TabAtkins: The summary is when you have a preserve3d transform nothing prevents a contain:paint participate in the 3d scene.<br> <dael> TabAtkins: A bunch of properties restricted to force it to become flat so children are container<br> <dael> TabAtkins: contain:paint should work the same<br> <smfr> overflow does NOT create a graphical group<br> <dael> TabAtkins: Spec also allows overflow-clip to have children leave element entirely and florian pointed out that doesn't make sense.<br> <smfr> q+<br> <dael> TabAtkins: If we're having overflow:contain-paint to cause flattening we should have them both<br> <dael> TabAtkins: Prop: add contain-paint to list of grouping properties that force it to be flat. Remove clip value form exceptions so it also causes it to be flat<br> <dael> smfr: I think this is right thing. I think contain-paint causes stacking but should flatten<br> <dael> smfr: I think TabAtkins said non-visbile overflow creates stacking?<br> <Rossen_> ack smfr<br> <dael> TabAtkins: Overflow-clip is on list of values that don't cause flattening. Feels weird. I think it should<br> <chrishtr> agree that clip and contain:paint should cause flattenign<br> <dael> smfr: That's fine. I agree with proposal<br> <TabAtkins> s/overflow-clip/overflow:clip/<br> <dael> dbaron[m]: I agree as well<br> <dael> Rossen_: Other feedback or objections?<br> <dael> smfr: Prop to make coverflow:clip a grouping property. Impl it creates stacking context?<br> <dael> florian: DOn't think so<br> <dael> smfr: Think it does<br> <dael> dbaron[m]: We do have that grouping prop create stacking context. That said, I wrote a test a few weeks ago to see what rbowsers made group. Tested with transform flattening and mixed blend and got entirely different results in all browsers.<br> <dael> dbaron[m]: Given that I think we don't have a good sense of grouping<br> <dael> smfr: Testing with opacity or filters might have given more consistent<br> <dael> smfr: I don't want to separate grouping from stacking context. Would create complexity<br> <dael> florian: I don't think the grouping are defined to create stacking<br> <dael> dbaron[m]: Don't have a spec for this. I did have understanding that the set of things grouping is subset of things that create stacking<br> <dael> TabAtkins: Happy to remove overflow:clip part and just do contain-paint<br> <dbaron[m]> the test I'm talking about was https://dbaron.org/css/test/2018/stacking-context-z-order<br> <dael> smfr: contain-paint can imply overflow:clip. Would love overflow properties that create stacking, but that ship has sailed<br> <dael> Rossen_: TabAtkins just resolve on contain:paint and leave overflow:clip for now?<br> <dael> TabAtkins: Yes<br> <dael> Rossen_: That's the proposal. thoughts or objections?<br> <dael> florian: Thought; maybe misunderstanding. Seems it's not necessary for overflow:clip to flatten a 3d transform b/c can position in 3d model. If when it's time to paint the projection is outside area you paint you clip<br> <dael> smfr: Please don't make clipping a thing we nee din 3d scenes<br> <smfr> q+<br> <dael> Rossen_: Great convo that should happen when additional investigation of overflow:clip takes place<br> <dael> smfr: If we resolve on this do we need to resolve on if will-change contains side effects. From dbaron[m] chart it does nto have stacking.<br> <dael> TabAtkins: Can you open as separate issue?<br> <dael> smfr: Yes<br> <dael> Rossen_: not hearing objection sot contain:paint<br> <dbaron[m]> I think will-change's definition is pretty clear about what's supposed to happen...<br> <dael> RESOLVED: add contain:paint to list of grouping properties<br> <dael> Rossen_: Anything else on this?<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6202#issuecomment-857863089 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 9 June 2021 16:49:31 UTC