mirror of
https://github.com/lexmount/moli.git
synced 2026-09-27 16:01:31 +00:00
fix(html): reflect the inert attribute
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user