Module element

Source
Expand description

Element nodes.

StructsΒ§

Element
https://dom.spec.whatwg.org/#element
ElementPerformFullscreenEnter πŸ”’
ElementPerformFullscreenExit πŸ”’
ScrollPosition πŸ”’
Represents a scroll position with x and y coordinates
TagName πŸ”’
A holder for an element’s β€œtag name”, which will be lazily resolved and cached. Should be reset when the document owner changes.

EnumsΒ§

AdjacentPosition πŸ”’
AttributeMutation πŸ”’
CustomElementCreationMode πŸ”’
ElementCreator πŸ”’
ScrollingBox πŸ”’
Represents a scrolling box that can be either an element or the viewport https://drafts.csswg.org/cssom-view/#scrolling-box
SelectorWrapper
A type that wraps a DomRoot value so we can implement the SelectorsElement trait without violating the orphan rule. Since the trait assumes that the return type and self type of various methods is the same type that it is implemented against, we need to be able to represent multiple ownership styles.

ConstantsΒ§

_IMPL_DOMOBJECT_FOR_Element πŸ”’

TraitsΒ§

LayoutElementHelpers πŸ”’

FunctionsΒ§

cors_setting_for_element πŸ”’
get_attr_for_layout πŸ”’
is_valid_shadow_host_name πŸ”’
https://dom.spec.whatwg.org/#valid-shadow-host-name
referrer_policy_for_element πŸ”’
reflect_cross_origin_attribute πŸ”’
reflect_referrer_policy_attribute πŸ”’
set_cross_origin_attribute πŸ”’