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

[csswg-drafts] [css-transforms] Clarify whether transform-style:preserve-3d should disable background-attachment:fixed

From: Botond Ballo via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Apr 2017 20:25:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-220760098-1491855932-sysbot+gh@w3.org>
theres-waldo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transforms] Clarify whether transform-style:preserve-3d should disable background-attachment:fixed ==
The resolution of https://www.w3.org/Bugs/Public/show_bug.cgi?id=17521 introduced a rule in the CSS Transforms spec that:

> For all [non-root] elements that are affected by a transform (i.e. have a transform applied to them, or to any of their ancestor elements), a value of fixed for the background-attachment property is treated as if it had a value of scroll

It's not clear whether an element with `transform-style: preserve3d` but without an actual transform counts as "affected by a transform". Based on their behaviour on [this test case](https://codepen.io/anon/pen/vxPeXW), Edge seems to think it does not, while Firefox seems to think it does.

Could we clarify the intention here?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1199 using your GitHub account
Received on Monday, 10 April 2017 20:25:40 UTC

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