add some skeleton implementations for various CSS WebAPIs

This commit is contained in:
Karl Seguin
2025-11-25 13:00:32 +08:00
parent e336c67857
commit 218d08b1f6
16 changed files with 547 additions and 29 deletions

View File

@@ -184,6 +184,7 @@ pub extern "C" fn html5ever_get_memory_usage() -> Memory {
// Streaming parser API
// The Parser type from html5ever implements TendrilSink and supports streaming
pub struct StreamingParser {
#[allow(dead_code)]
arena: Box<typed_arena::Arena<sink::ElementData>>,
parser: Box<dyn std::any::Any>,
}