Skip to content

[css-masking-1] The syntax of mask shorthand should use <coord-box> instead of <geometry-box> #551

@BorisChiou

Description

@BorisChiou

Per current ED spec, the syntax of <mask-layer> of mask shorthand property still uses <geometry-box>:

<mask-layer> =
 <mask-reference> ||
 <position> [ / <bg-size> ]? ||
 <repeat-style> ||
 <geometry-box> ||
 [ <geometry-box> | no-clip ] ||
 <compositing-operator> ||
 <masking-mode>

However, it's not correct because both mask-origin and mask-clip use <coord-box>, which doesn't include <margin-box>, for example. We probably forgot to update the syntax of mask shorthand when migrating <coord-box> into mask-origin and mask-clip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions