You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
-webkit-image-set() might be a requirement to be compatible. #144
We would have a long road to remove the prefixed version because it is used in many Chrome and ChromeOS UI pages. Any change short of removing would also be challenging.
Fortunately, based on my understand of the parsing code and the spec, the -webkit-image-set spec is a syntactically valid subset of the image-set spec and the spec gives us a lot of scope in how to decide which image to use. So I don't see a need to adjust any spec based on back-compat and the implementation of image-set will be somewhat easier.
Activity
karlcow commentedon May 5, 2021
To watch out probably for Webkit "image-src" support is missing. We only support "-webkit-image-src"
foolip commentedon May 6, 2021
Looks like the spec for this is https://drafts.csswg.org/css-images-4/#image-set-notation.
Should the prefixed variant be defined to behave exactly the same, or are there differences? @schenney-chromium do you know?
schenney-chromium commentedon May 6, 2021
We would have a long road to remove the prefixed version because it is used in many Chrome and ChromeOS UI pages. Any change short of removing would also be challenging.
Fortunately, based on my understand of the parsing code and the spec, the -webkit-image-set spec is a syntactically valid subset of the image-set spec and the spec gives us a lot of scope in how to decide which image to use. So I don't see a need to adjust any spec based on back-compat and the implementation of image-set will be somewhat easier.
emilio commentedon May 12, 2021
I think w3c/csswg-drafts#6285 is the most trivial way to go forward with this in terms of complexity of both specifications and implementations.
Support -webkit-image-set as a parse-time alias to image-set().
Bug 1709415 - Support -webkit-image-set as a parse-time alias to imag…
Support -webkit-image-set as a parse-time alias to image-set().
gsnedders commentedon Jun 6, 2022
This can be closed, as w3c/csswg-drafts#6285 defined this in the CSS Images spec.
miketaylr commentedon Jun 6, 2022
Awesome.
style: Support -webkit-image-set as a parse-time alias to image-set()
style: Support -webkit-image-set as a parse-time alias to image-set()
style: Support -webkit-image-set as a parse-time alias to image-set()
Bug 1709415 - Support -webkit-image-set as a parse-time alias to imag…