- From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
- Date: Sat, 21 Sep 2019 20:43:16 +0000
- To: public-css-archive@w3.org
> You have to walk the DOM tree (not containing block chain), looking for the first pseudo-stacking context, and check if that also has transform-style:preserve-3d. But, you also have to check the intermediate elements for a flattening property (like overflow:hidden), which does break the preserve-3d, but isn't a pseudo-stacking context. Oh right. I had forgotten about the conflict of overflow:hidden not inducing a pseudo stacking context, yet still flattening. This is a good argument in favor of the DOM parent approach. > Would you be ok with trialing this behaviour, and we can reconsider the approach if there's serious webcompat breakage? Yes! For sure I'm ok with trialing this behavior. I want clear and simple semantics also. :) I only suggested the loosening because when I wrote it it seemed simple (and I forgot about overflow:hidden, as noted above). But I think it's not, because of the reasons you outlined. -- GitHub Notification of comment by chrishtr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/918#issuecomment-533828891 using your GitHub account
Received on Saturday, 21 September 2019 20:43:18 UTC