8000 [motion-1] The syntax of "offset" shorthand is out-of-date · Issue #515 · w3c/fxtf-drafts · GitHub
[go: up one dir, main page]

Skip to content

[motion-1] The syntax of "offset" shorthand is out-of-date #515

@BorisChiou

Description

@BorisChiou
68AE

After the updating of offset-position and offset-path, we have the offset transform (and create stacking context) only when offset-path is not none. offset-position is used only when offset-path functions don't specify the offset starting position.

So the current syntax of offset shorthand is out-of-date.

[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?

The exclamation point (!) doesn't make sense now. It's not necessary to have offset-position if we don't specify offset-path. Perhaps we should always specify offset-path, and move offset-position together with offset-anchor or other places?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0