Skip to main content

Module query

Module query 

Source
Expand description

Utilities for querying the layout, as needed by layout.

Structsยง

ClosestFragment ๐Ÿ”’
OffsetParentFragments ๐Ÿ”’
RenderedTextCollectionState ๐Ÿ”’

Enumsยง

InnerOrOuterTextItem ๐Ÿ”’

Functionsยง

containing_block_for_node ๐Ÿ”’
find_character_offset_in_fragment_descendants
get_the_text_steps
https://html.spec.whatwg.org/multipage/#get-the-text-steps
is_containing_block_for_position ๐Ÿ”’
offset_parent_fragments ๐Ÿ”’
https://www.w3.org/TR/2016/WD-cssom-view-1-20160317/#dom-htmlelement-offsetparent
process_box_area_request ๐Ÿ”’
process_box_areas_request ๐Ÿ”’
process_client_rect_request
process_containing_block_query
process_current_css_zoom_query
Process a query for the current CSS zoom of an element. https://drafts.csswg.org/cssom-view/#dom-element-currentcsszoom
process_effective_overflow_query ๐Ÿ”’
process_node_scroll_area_request
https://drafts.csswg.org/cssom-view/#scrolling-area
process_offset_parent_query
process_padding_request ๐Ÿ”’
process_resolved_font_style_query
process_resolved_style_request
Return the resolved value of property for a given (pseudo)element. https://drafts.csswg.org/cssom/#resolved-value
process_resolved_style_request_for_unstyled_node
process_scroll_container_query ๐Ÿ”’
An implementation of scrollParent that can also be used to for scrollIntoView: https://drafts.csswg.org/cssom-view/#dom-htmlelement-scrollparent.
rendered_text_collection_steps ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#rendered-text-collection-steps
resolve_grid_template ๐Ÿ”’
resolved_size_should_be_used_value ๐Ÿ”’
root_transform_for_layout_node ๐Ÿ”’
Get a scroll node that would represents this ServoLayoutNodeโ€™s transform and calculate its cumulative transform from its root scroll node to the scroll node.
shorthand_to_css_string ๐Ÿ”’
should_honor_min_size_auto ๐Ÿ”’
style_and_flags_for_node ๐Ÿ”’
transform_au_rectangle ๐Ÿ”’