[fxtf-drafts] [css-masking] spec is unclear about how to handle no-clip parsing in shorthand

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

== [css-masking] spec is unclear about how to handle no-clip parsing 
in shorthand ==
The [definition of the `mask` 
shorthand](https://drafts.fxtf.org/css-masking-1/#the-mask) says:
> If one <geometry-box> value is present then it sets both 
mask-origin and mask-clip to that value. If two <geometry-box> 
values are present, then the first sets mask-origin and the second 
mask-clip.

This sentence doesn't account for the fact that there might be a 
`no-clip` value.  In particular:
* `border-box no-clip` has one <geometry-box> but it presumably 
doesn't set `mask-clip` to `border-box`, contradicting the first 
sentence
* `no-clip border-box` has the same problem, but it also can't just 
set the first value as `mask-origin` and the second as `mask-clip`.

/cc @bzbarsky

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

Received on Thursday, 2 March 2017 17:59:26 UTC