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

Re: [csswg-drafts] [css-transforms] Provide a way to specify rastered content scale for transformed content (#236)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Wed, 02 Oct 2019 20:25:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-537665375-1570047955-sysbot+gh@w3.org>
This really is necessary. Chrome's initial implementation of `will-change` for `transform` was so bad when it came to scale transforms that devs were dropping use of `will-change` completely.

During some discussion at that time (probably on Twitter, can't find it in issues here), I suggested that one option was to extend the syntax for `will-change` to include a list or range of values that the property might change into.

However, that extended `will-change` syntax could definitely get messy for `transform`, and would require authors to keep many parts of their code in sync.

Since the primary issue seems to be around scaling, maybe it would be better to add a dedicated `max-expected-scale` property. (Name TBD, need to be clear that it is a rendering hint, rather constraint.) As with `will-change`, the authoring advice could be to set the property judiciously, in advance of a likely scaling animation.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/236#issuecomment-537665375 using your GitHub account
Received on Wednesday, 2 October 2019 20:25:58 UTC

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