mirror of
https://github.com/lexmount/moli.git
synced 2026-11-02 16:07:11 +00:00
Reject unsupported MIME hints and nonmatching media before loading ordinary preloads. Parse MIME parameters, use the owning Document viewport, and reprocess media changes. Keep CSS preloads in the typed stylesheet path so rejected hints cannot fall through to generic requests and abort the renderer. Validation: cargo fmt --all; full workspace/all-features clippy with -D warnings; full nextest (19,858 passed, 13 skipped) with 32 build jobs and test threads. Two newly passing WPT files cover 46 subtests; 15 related WPTs and 476 preload admission scenarios pass, including parser, dynamic and emulated-media paths.