Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Stranger6667/css-inline
/ is_html_element_in_html_document
Method
is_html_element_in_html_document
css-inline/src/html/element.rs:151–153 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
149
150
#[inline]
151
fn is_html_element_in_html_document(&self) -> bool {
152
self.name().ns == ns!(html)
153
}
154
155
#[inline]
156
fn has_local_name(&self, name: &LocalName) -> bool {
Callers
nothing calls this directly
Calls
1
name
Method · 0.80
Tested by
no test coverage detected