W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2017

Re: [csswg-drafts] [css-transforms-2] Should a no-op <div> flatten?

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Nov 2017 21:46:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-342633094-1510091180-sysbot+gh@w3.org>
I think I'm missing some context for this issue.

The Gecko behavior essential removes `transform-style: auto` as a value, so that the default becomes `flat` unless `preserve-3d` is explicitly specified.

I assume you still use the grouping properties to override `transform-style: preserve-3d`, though.  Don't you still have to deal with complexities then?  `preserve-3d` is only supposed to preserve the 3D matrix in the face of parent transforms or perspective settings; it shouldn't cancel out other factors like hidden overflow.

PS, Demo showing what we're talking about, for anyone else who was confused. In Firefox, you don't get the 3D perspective effect because of the extra semantic elements in between the images and the body with the perspective set: 

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1952#issuecomment-342633094 using your GitHub account
Received on Tuesday, 7 November 2017 21:46:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 7 November 2017 21:46:24 UTC