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

BorisChiou has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [css-masking-1] The syntax of mask shorthand should use <coord-box> instead of <geometry-box> ==
Per [current ED spec](https://drafts.fxtf.org/css-masking-1/#the-mask), 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`.


Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/551 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 March 2024 08:13:30 UTC