Re: [csswg-drafts] [css-images] Consider making -webkit-image-set a parse-time alias to image-set (#6285)

I found that the implementation of -webkit-image-set() in Firefox is completely a standard image-set() mapping, and some new syntaxes are not supported in WebKit/Blink. This seems to be confusing. Does Firefox need to fully follow the existing syntax in WebKit/Blink?

e.g.

```css
.foo {
  background: -webkit-image-set('../img/image-1x.jpg' 1x, '../img/image-2x.jpg' 2x) /* WebKit/Blink invalid */
  background: -webkit-image-set('../img/image-1x.jpg' 1x, linear-gradient(black, white) 2x) /* WebKit/Blink invalid */
  background-image: -webkit-image-set('../img/image-1x.jpg' 1dppx, '../img/image-2x.jpg' 2dppx); /* WebKit/Blink invalid */
}
```

-- 
GitHub Notification of comment by yisibl
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6285#issuecomment-881307039 using your GitHub account


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

Received on Friday, 16 July 2021 09:24:29 UTC