Work on HTMLTemplateElement

Implement Html5ever get_template_contents and add_attrs_if_missing callbacks
This commit is contained in:
Karl Seguin
2025-11-15 22:04:39 +08:00
parent c311828217
commit 19dfea7762
15 changed files with 527 additions and 33 deletions

View File

@@ -57,6 +57,8 @@ pub type AddAttrsIfMissingCallback = unsafe extern "C" fn(
attributes: *mut c_void,
) -> ();
pub type GetTemplateContentsCallback = unsafe extern "C" fn(ctx: Ref, target: Ref) -> Ref;
pub type Ref = *const c_void;
#[repr(C)]