From c60f4552acffdd665efa0ccae4590b2074ceb2d8 Mon Sep 17 00:00:00 2001 From: Pierre Le Fevre Date: Sat, 21 Mar 2026 17:18:29 +0100 Subject: [PATCH] Implement end-to-end page loading pipeline Wire together all Phase 8 components into the browser's navigation flow: - Use css_loader::collect_stylesheets for external and inline \ +

Error

{escaped}

" + ); + let base_url = Url::parse("about:blank").expect("about:blank is always valid"); + LoadedHtml { + text: html, + base_url, } } +/// Load a page: fetch HTML, parse DOM, collect CSS and images. +fn load_page(loaded: LoadedHtml) -> PageState { + let doc = parse_html(&loaded.text); + + // Fetch external stylesheets and merge with inline