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

It seems like Firefox does the "right thing":

```html
<html>
<div style="mask: url(red.png) content-box"></div>
<div style="mask: url(red.png) content-box padding-box"></div>
<div style="mask: url(red.png) content-box no-clip"></div>
<div style="mask: url(red.png) no-clip content-box"></div>
```

1. `mask-origin` and `mask-clip` are both `content-box`
2. `mask-origin` is `content-box` and `mask-clip` is `padding-box`
3. `mask-origin` is `content-box` and `mask-clip` is `no-clip`
4. `mask-origin` is `content-box` and `mask-clip` is `no-clip`

So it is just a matter to put the spec intention and the behavior of Firefox (which both match) into words.

-- 
GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/118#issuecomment-380367929 using your GitHub account

Received on Wednesday, 11 April 2018 08:17:34 UTC