fix(html): reflect the inert attribute

This commit is contained in:
ldm0
2026-09-27 19:28:50 +08:00
parent 6b154aa8fa
commit 80e1876594
@@ -2552,7 +2552,7 @@ pub(in crate::native_bridge) fn node_inert_getter_function<'s>(
throw_incompatible_getter_receiver(scope, "HTMLElement", "inert");
return;
}
rv.set_bool(element_attribute(runtime, handle, "inert").is_some());
rv.set_bool(element_has_attribute(runtime, handle, "inert"));
}
pub(in crate::native_bridge) fn node_inert_setter_function<'s>(