Structsยง
- Descriptor
- https://html.spec.whatwg.org/multipage/#width-descriptor https://html.spec.whatwg.org/multipage/#pixel-density-descriptor
- Image
Source - https://html.spec.whatwg.org/multipage/#image-source
- Source
Set ๐ - https://html.spec.whatwg.org/multipage/#source-set
Enumsยง
- Parse
State ๐
Constantsยง
- SUPPORTED_
IMAGE_ ๐MIME_ TYPES - Supported image MIME types as defined by https://mimesniff.spec.whatwg.org/#image-mime-type. Keep this in sync with โdetect_image_formatโ from components/pixels/lib.rs
Functionsยง
- collect_
sequence_ ๐characters - Collect sequence of code points https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points
- is_
supported_ ๐image_ mime_ type - Returns true if the given image MIME type is supported.
- is_
valid_ ๐floating_ point_ number_ string - https://html.spec.whatwg.org/multipage/#valid-floating-point-number TODO(#39315): Use the validation rule from Stylo
- is_
valid_ ๐non_ negative_ integer_ string - https://html.spec.whatwg.org/multipage/#valid-non-negative-integer TODO(#39315): Use the validation rule from Stylo
- parse_
a_ sizes_ attribute - https://html.spec.whatwg.org/multipage/#parse-a-sizes-attribute
- parse_
a_ srcset_ attribute - Parse an
srcsetattribute: https://html.spec.whatwg.org/multipage/#parsing-a-srcset-attribute.