Comments (2)
The MDN information is not up to date. WebKit supports part of the spec without the -webkit-
flag, which makes it even harder to write the CSS in a way that all browsers can read and support.
Caniuse has the latest info: https://caniuse.com/css-image-set
from surveys.
I think it would be great to have this in the survey. Delivering images across jpeg
, webp
, avif
and jxl
is really hard right now, and a stable spec that all browsers support could really go a long way to make it easier to deliver those images.
Right now, It seems like developers resort to proprietary cloud services for image delivery, because it is so hard. And those services work by sniffing the browser UA and by delivering different formats than what the URL advertises. Those are all bad practices.
Another detail is that image-set could be used to deliver different sized images if the width (w
) dimension specifier could be supported. This is not officially in the spec yet, but it has been discussed and could quickly be added if there was pressure to do so.
Adding support for w
and the type()
specifier would allow open source build tools to deliver the same images to image-set
in css
as they do to <picture>
elements in html
, and I sincerely believe that would make adoption of those techniques much more feasible.
from surveys.
Related Issues (20)
- Higher Education Degree - or Degrees?
- [Copy edit] [Subjective] Section: Why are there JS questions in an HTML Survey? HOT 1
- Bad copy for `alt` question HOT 4
- State of JS 2023 Feedback HOT 17
- State of Node.js/State of Back-end JavaScript 2024 Suggestions HOT 39
- State of JS 2024 Suggestions HOT 9
- Inconsistent result for the Most Adopted Feature award in State of CSS 2023
- Broken link for the Ratios Over Time heading in State of CSS 2023
- How to help with data normalization
- I wonder when I will know the results of the survey HOT 2
- [Comment Report] Exclusive Accordion / hKZyC4UOLMe1jryB0hdHQ
- [Comment Report] Popover API / JznsTrWdydxePZABVgSPm HOT 1
- [Comment Report] Form Pain Points/<code><input type="date"></code> / MhVWkGitKH0gAy82JObuI
- State of HTML 2024 Suggestions HOT 2
- [Comment Report] Solid / 060GbLVX4zvRMYovErSoR
- [Comment Report] React / 8OJHpE5Bfao_KrI3mfHgD
- State of JS 2024 Suggestions
- [Comment Report] Solid / 060GbLVX4zvRMYovErSoR
- [Comment Report] Browser APIs Pain Points/Dates / FgK5P_M-bfwfDD4Zrj31w
- [New Questions]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surveys.