Repository navigation
Open
Labels
Description
Specification title
Better Responsive Image Knobs
Specification or proposal URL (if available)
Explainer URL (if available)
https://github.com/noamr/explainers/blob/main/responsive-images-explainer.md
Proposal author(s)
web-feature id
No response
MDN URL
No response
Caniuse.com URL
No response
Bugzilla URL
No response
Mozillians who can provide input
WebKit standards-position
WebKit/standards-positions#736
Other information
A cohesive set of responsive image improvements in the HTML Standard, moving context-specific quality/bandwidth trade-offs to declarative markup knobs while standardizing the baseline source selection algorithm across Chromium, Gecko, and WebKit:
- Normative source selection algorithm (replacing "implementation-defined" selection with deterministic normalization, ascending density sort, and optional local-cache reuse of already-available higher-resolution candidates): Responsive images: should we define source selection normatively instead of leaving it implementation-defined whatwg/html#13077
- Per-image density bounds (
mindensityandmaxdensityon<img>and<source>): Authors have no way to ask for a higher or lower pixel density than the browser's default when selecting fromsrcsetwhatwg/html#13069 - 2D
sizes(cover/contain),hdescriptors insrcset,object-fit-awaresizes="auto", and fixing unexpected upscaling underobject-fit: scale-down/none: sizes=auto images shouldn't use concrete object width to select source whatwg/html#12248, Responsive images withsrcsetunexpectedly upscale when usingobject-fit: noneorscale-downwhatwg/html#11428, Support 2D sizes and height descriptors in srcset whatwg/html#13053 - True unscaled intrinsic dimension and aspect ratio getters (
imageWidth,imageHeight, andimageAspectRatioonHTMLImageElement): No way to read an image's true intrinsic dimensions when sizes="auto" (or any w-descriptor srcset) is used whatwg/html#12565, Makesizesdetermine the natural width ofimgwhatwg/html#13046
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsNeeds proposed position
Activity