Skip to content

Switch from parse-srcset to srcset#6

Open
tmcw wants to merge 2 commits into
11ty:mainfrom
tmcw:switch-to-srcset
Open

Switch from parse-srcset to srcset#6
tmcw wants to merge 2 commits into
11ty:mainfrom
tmcw:switch-to-srcset

Conversation

@tmcw

@tmcw tmcw commented May 7, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #4.

This removes the support for srcset specifiers like 100h, which parse-srcset supports and srcset does not. The background is that the h specifier was a proposed part of the spec removed at least six years ago and removed from srcset and other parsers as a result.

Otherwise, does the same thing. srcset includes a stringifier, so I'm using that too to make the most of using a module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant