W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

Re: [csswg-drafts] [css-transforms-2] transform-style: flat should not create stacking context, and 3D context grouping (#1950)

From: mattwoodrow via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Feb 2019 21:26:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-468444708-1551389179-sysbot+gh@w3.org>
We also discussed how WebKit/blink look to non-parent ancestors to determine if we're participating in a 3d rendering context (spec says look at containing block, current behaviour appears to be stacking context), whereas Gecko looks at the direct parent element.

This causes issues when flattening properties are neither a containing block or a stacking context (overflow:scroll), but still need to influence the decision.

Gecko's approach is simpler and avoids this problem (and appears to be largely webcompat!), but does mean that a no-op <div> will flatten (using the default transform-style:flat).

-- 
GitHub Notification of comment by mattwoodrow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1950#issuecomment-468444708 using your GitHub account
Received on Thursday, 28 February 2019 21:26:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:44 UTC