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§
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_ 🔒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.