Skia and CanvasKit decode PNG/JPEG/GIF/WebP but not SVG, so every captured page's inline-svg fallback and remote .svg painted as the dashed placeholder forever. - Native: resvg (minimal features, no text/raster-images) rasterizes SVG bytes to PNG where they enter the shared byte cache, so both the data-URI decode and the remote-fetch store paths only ever cache bitmap codecs. Target-gated off wasm32: measured +0.9 MiB gzip against the web bundle's 6 MiB ceiling. - Web: the CanvasKit bridge falls back to the browser's own SVG decoder (async Image + 2d canvas -> CK.MakeImage). Pending decodes report success so the id is not negative-cached; the repaint pump keeps frames coming until the raster lands. - The remote-image fetcher's magic-byte sniff now accepts SVG markup, and percent-encoded (non-base64) svg data URIs decode too. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| Cargo.toml | ||
| entitlements.plist | ||
| Info.plist | ||