Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to Ship: [css-transforms-2] Individual Transform Properties (i.e. translate, rotate, scale)

83 views
Skip to first unread message

Boris Chiou

unread,
Nov 17, 2019, 9:17:13 PM11/17/19
to dev-platform
Hi, All

As of Firefox 72, I intend to turn the preference of individual transform
properties, layout.css.individual-transform.enabled
<https://searchfox.org/mozilla-central/rev/cac340f10816707e91c46db6d285f80259420f07/modules/libpref/init/StaticPrefList.yaml#4932>,
on by default on all platforms. Blink has implemented it behind the
experiment flag but Webkit doesn't support it yet. There are three
properties defined in individual transform properties: translate, rotate,
scale. Their rendering results should be equal to translate(), rotate(),
and scale() functions on transform property.

*Bug to turn on by default*:
https://bugzilla.mozilla.org/show_bug.cgi?id=1424900

*Spec*: https://drafts.csswg.org/css-transforms-2/#individual-transforms

*DevTools*: We don't support DevTools for individual transforms now.

*WPT*:

1.
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-transforms/individual-transform
2.
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-transforms/animation
3.
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-transforms/parsing

Thanks

Xidorn Quan

unread,
Nov 20, 2019, 3:26:50 PM11/20/19
to john.bieling--- via dev-platform
On Fri, Nov 15, 2019, at 10:01 AM, Boris Chiou wrote:
> *DevTools*: We don't support DevTools for individual transforms now.

I think the current policy is that if it's worth devtools support, there should be a bug filed?

Also it seems to me this is something indeed devtools should be able to help more than just value inspection, e.g., devtools can probably show a combined transformation from all these properties as well as the old transform property.

- Xidorn

Dirk Schulze

unread,
Nov 20, 2019, 3:26:52 PM11/20/19
to Boris Chiou, dev-platform
Hi Boris,

Did the CSS WG agree to ship the 3 transform functions? CSS Transforms level 2 is a working draft at the moment. It does describe 3D transforms and corresponding CSS properties as well but they shipped prefixed at a time where there weren't feature flags. For the 3 properties you propose shipping the situation is different.

Greetings,
Dirk

________________________________________
From: dev-platform <dev-platfo...@lists.mozilla.org> on behalf of Boris Chiou <bch...@mozilla.com>
Sent: Friday, November 15, 2019 12:01 AM
To: dev-platform
Subject: Intent to Ship: [css-transforms-2] Individual Transform Properties (i.e. translate, rotate, scale)

Hi, All

As of Firefox 72, I intend to turn the preference of individual transform
properties, layout.css.individual-transform.enabled
<https://searchfox.org/mozilla-central/rev/cac340f10816707e91c46db6d285f80259420f07/modules/libpref/init/StaticPrefList.yaml#4932>,
on by default on all platforms. Blink has implemented it behind the
experiment flag but Webkit doesn't support it yet. There are three
properties defined in individual transform properties: translate, rotate,
scale. Their rendering results should be equal to translate(), rotate(),
and scale() functions on transform property.

*Bug to turn on by default*:
https://bugzilla.mozilla.org/show_bug.cgi?id=1424900

*Spec*: https://drafts.csswg.org/css-transforms-2/#individual-transforms

*DevTools*: We don't support DevTools for individual transforms now.

_______________________________________________
dev-platform mailing list
dev-pl...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Boris Chiou

unread,
Nov 20, 2019, 3:26:53 PM11/20/19
to Dirk Schulze, dev-platform
Hi Dirk,

I filed a spec issue [1] to get the feedback from the CSS WG. Before we get
the result in this week's call (or later), we won't ship this. Thanks for
your reminder.

[1] https://github.com/w3c/csswg-drafts/issues/4515

Boris Chiou

unread,
Nov 20, 2019, 4:00:39 PM11/20/19
to Xidorn Quan, john.bieling--- via dev-platform
Hi Xidorn,

I just filed one for individual transform properties: Bug 1598115
<https://bugzilla.mozilla.org/show_bug.cgi?id=1598115>. Thanks for this
reminder.

On Wed, Nov 20, 2019 at 12:27 PM Xidorn Quan <m...@upsuper.org> wrote:

> On Fri, Nov 15, 2019, at 10:01 AM, Boris Chiou wrote:
> > *DevTools*: We don't support DevTools for individual transforms now.
>
> I think the current policy is that if it's worth devtools support, there
> should be a bug filed?
>
> Also it seems to me this is something indeed devtools should be able to
> help more than just value inspection, e.g., devtools can probably show a
> combined transformation from all these properties as well as the old
> transform property.
>
> - Xidorn
0 new messages