Open BorisChiou opened 4 months ago
Per current ED spec, the syntax of <mask-layer> of mask shorthand property still uses <geometry-box>:
<mask-layer>
mask
<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.
mask-origin
mask-clip
<coord-box>
<margin-box>
I uploaded a PR for this: https://github.com/w3c/fxtf-drafts/pull/552.
If this is an obvious spec issue and we agree with this, we probably can just merge this PR.
Per current ED spec, the syntax of
<mask-layer>
ofmask
shorthand property still uses<geometry-box>
:However, it's not correct because both
mask-origin
andmask-clip
use<coord-box>
, which doesn't include<margin-box>
, for example. We probably forgot to update the syntax ofmask
shorthand when migrating<coord-box>
intomask-origin
andmask-clip
.