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

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 using your GitHub account

Received on Wednesday, 2 October 2019 20:25:58 UTC