KEMBAR78
[css-values] Switch [..]! to ?? combinator · Issue #687 · w3c/csswg-drafts · GitHub
Skip to content

[css-values] Switch [..]! to ?? combinator #687

@fantasai

Description

@fantasai

Seriously, the offset syntax is painful to read. Can we please switch from the ! required multiplier to an "in order, either or both" combinator?

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

vs

<offset-position> ?? [ <offset-path> [<offset-distance> || <offset-rotation>]? ] ?? [/ <offset-anchor>]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions