w3c / w3c/csswg-drafts

[css-transforms-2] Is addition/accumulation for the Individual Transform Properties specified anywhere?

Open
#4,355 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-transforms-2
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Not sure if I'm just going blind, but reading https://drafts.csswg.org/css-transforms-2/#individual-transforms I can't see a definition of the additive or accumulative composite behavior for the individual properties ('scale', 'translate', 'rotate')? There's a section for transform-list, but that isn't relevant (afaict) for the individual properties.

I've attempted to reverse-engineer it from the WPT test but it isn't always clear. E.g. it seems reasonably clear that 'scale' has an additive behavior of multiply, but it's accumulative behavior isn't clear from the examples.

cc @birtles

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Individual Transforms section in the css-transforms-2 draft and compare it with the transform-list section. Then inspect web-animations/animation-model/animation-types/addition-per-property.html and its WPT results, focusing on the additive and accumulative behavior of scale, translate, and rotate. Done means the specification clearly defines both behaviors for each individual transform property.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.