- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Nov 2017 20:00:11 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `https://github.com/w3c/csswg-drafts/issues/1944`. <details><summary>The full IRC log of that discussion</summary> <chrishtr> topic:https://github.com/w3c/csswg-drafts/issues/1944<br> <chrishtr> Github:https://github.com/w3c/csswg-drafts/issues/1944<br> <chrishtr> trchen: how should overflow clip interact with 3d?<br> <chrishtr> trchen: ED spec requires overflow clips to force flattening and a stacking context<br> <chrishtr> trchen: making overflow clip a stacking context would break legacy content<br> <chrishtr> trchen: it seems most implementations flatten children of overflow clips but do not induce a stacking context<br> <chrishtr> dbaron: there was not an intent to make overflow clips a stacking context, does it have to?<br> <chrishtr> trchen: thought the reason was to avoid parallax<br> <chrishtr> trchen: but 3d content has a separate texture backing in Chrome/Safari anyway<br> <chrishtr> smfr: clipping has to happen in 2D if it's going to happen, so that means you have to flatten if you are going to apply it<br> <chrishtr> smfr: transform-style: flat currently forces a stacking context in the ED spec, maybe that has to change?<br> <chrishtr> trchen: grouping properties for a stacking context, there is no way to avoid that<br> <chrishtr> trchen: but overflow clip needs to force transform-style flat, but not be fully grouping<br> <chrishtr> trchen: next question: how should non-stacking overflow clip behave? in particular how does the flattened result stack against other elements in the containing stacking context?<br> <chrishtr> smfr: should lie on the z=0 plane<br> <chrishtr> trchen: how to sort against other z=0 children?<br> <chrishtr> smfr: do 3d children depth sort before flattening?<br> <chrishtr> trchen: mozilla, blink, edge follow TR generally, safari somewhere between TR and ED<br> <chrishtr> smfr: one use case of overflow scrolling + 3d is parallax<br> <chrishtr> smfr: if overflow other than visible forces non-stacking flattening, how are transform matrices accumulated? does it kill parallax?<br> <chrishtr> matt woodrow: does not kill parallax<br> <chrishtr> matt woodrow: edge forces a stacking context with overflow clip + transform-style: preserve-3d<br> <chrishtr> chrishtr: chrome also forces a stacking context in this case<br> <chrishtr> trchen: in edge overflow clip with transform-style preserve-3d behaves like a 3d context root, but still inherits non-3d matrices across it<br> <chrishtr> trchen: unsure what chromium does, we can implement edge behavior if needed<br> <dbaron> MaRakow: mwoodrow: fyi, backscroll for this channel is at https://log.csswg.org/irc.w3.org/fx/2017-11-07/<br> <chrishtr> trchen: maybe we should force flattening but sort children<br> <mwoodrow> thanks<br> <chrishtr> smfr: wouldn't that kill parallax?<br> <chrishtr> trchen: perspective on the overflow hidden element will still apply as expected for parallax<br> <chrishtr> smfr: agree that this should work<br> <chrishtr> trchen: adding perspective on the overflow clipping element will also cause it to be stacking, which is a nice property<br> <chrishtr> smfr: perspective is a way to apply an additional matrix to descendants<br> <chrishtr> smfr: perserve-3d is a way to define 3d rendering contexts of sets of elements/a space into which subtree elements will 3D sort<br> <chrishtr> smfr: convenient to think about hoisting the children up to the 3d rendering context root<br> <chrishtr> smfr: preseve-3d prevents flattening, you should not apply it to the root, should apply to intermediate elements between root and 3d descendants. perspective should be on the root<br> <chrishtr> (note: all this is info from smfr on the ED way of thinking)<br> <chrishtr> chrishtr: consensus seems to be that an overflow clipping element should be forced to transform-style flat but not a stacking context, and should allow pespective to be specified on itself<br> <chrishtr> trchen: still need to resolve z-index sorting<br> <MaRakow> q+<br> <chrishtr> smfr: comment about z-index above is not specific to overflow clip, it's a general thing<br> <chrishtr> marakow: is there a github issue?<br> <chrishtr> https://github.com/w3c/csswg-drafts/issues/1944<br> <chrishtr> chrishtr: the above link is for the explainer<br> <chrishtr> marakow: we need all these examples and testcases written down<br> <chrishtr> chrishtr: trchen will take this action item<br> <chrishtr> trchen: overflow clip is special for z-index because we need to do "premature" flattening<br> <chrishtr> smfr: ED currently says that transform-style: flat is a stacking context<br> <chrishtr> trchen: prefer to remove that clause from ED<br> <dbaron> The whiteboard drawings are: https://lists.w3.org/Archives/Public/www-archive/2017Nov/att-0006/IMG_20171107_115421.jpg<br> <Rossen> q?<br> <chrishtr> smfr: new issue to discuss: how is transform-style flat specified if changed? more generally, how does this affect how 3d contexts are defined?<br> <chrishtr> github:https://github.com/w3c/csswg-drafts/issues/1944<br> <RRSAgent> logging to https://www.w3.org/2017/11/07-fx-irc<br> <dbaron> [note there's a bit of backlog prior to the RRSAgent-recorded log that's on logs.csswg.org ]<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1944#issuecomment-342603888 using your GitHub account
Received on Tuesday, 7 November 2017 20:00:17 UTC