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
.