-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[motion] offset-rotation should only do path-relative rotation #69
Comments
I didn't know there is I'm in favor of dropping < angle > from the offset-rotation, so the syntax will be:
|
offset-rotation can't be used in place of rotate, and (to a degree) vice versa. Depending on the order of offset and translate/rotate/scale - if rotate happens after offset then these two are different:
and
Alternatively, if rotate happens before offset then these two are:
and
|
I also want to strongly make the point that you keep talking about adjusting a specification that we have already shipped. We'd love to accommodate reasonable changes where we can (e.g. we've done this for the motion-* to offset-* rename, and are currently trying to determine if offset-rotation can be renamed to offset-rotate), but the larger the change and the later it's suggested the less likely we're going to be able to comply. In practice the risk is that we have to support multiple variants of the feature (or just not support the new syntax at all, if it is dissimilar enough that we can't support both). This will potentially cause web compat problems. |
The CSS Working Group just discussed
The full IRC log of that discussion
|
As discussed in the CSS Working Group, the issue about offset-rotate syntax is being closed without change. w3c#69 (comment) resolves w3c#69
Currently
offset-rotation
can specify an arbitrary rotation as well as a path-relative rotation. Afaict, this duplicates functionality in therotate
property, and therefore isn't really necessary.The current syntax is
I propose
Where
forwards
computes to0deg
,backwards
computes to180deg
, and any value other thannone
tracks the path tangent. (The choice offorwards
andbackwards
keywords is to match the pair inanimation-fill-mode
.)Alternatively, the value could also be dropped in favor of further tweaking with
rotate
.The text was updated successfully, but these errors were encountered: