Expand description
The read/drive surface sk-devtools sits on: selector queries against the REAL cascade matcher,
node dumps off the retained tree, and synthesized input through the ordinary dispatch path.
It lives here because the node slab and side maps are private to this crate; sk-app owns the
transport. Nothing is dev-gated here: sk-app compiles its callers out under --features prod.
Structs§
Functions§
- aim_
point - click
- computed_
styles - container_
query_ counts - Layouts re-run for container queries, and query containers whose size moved, since start.
- focus
- focused_
node - frame_
counts (element-tree builds, paint-only presents)since start, in any window; a<video>or moving<canvas>frame is a present (crate::live).- gpu_
canvas_ presentation_ stats - hit_
test - The deepest ELEMENT gpui would hit at
(x, y), as the path from the root down (empty over nothing): gpui’s own hit test (every element gets a hitbox tagged with its node id in a dev host), so transforms, paint order and masks are exact. Ties go to the deepest, then the last in document order. - hit_
test_ in hit_testrestricted to the window that paintsroot(0 = primary): hitboxes live in the painting window’s frame. The path is still root-first from the document root.- image_
stats - ime
- A text field’s IME, as the platform drives the field’s input handler:
textbecomes the composition’s pre-edit (""cancels it), or withcommitits committed text. - inline_
style - One inline declaration as
(value, important). - input_
value - is_
focused - is_
hovered - See [
tree::is_hovered] for the one case that answersfalsewhile a browser would saytrue. - matched_
rules - node_
count - node_
info - overlay_
bounds - query
- residency_
stats - root_id
- scroll
- scroll_
chain_ count - set_
image_ tracking - set_
inline_ style - Writes one inline declaration (
Noneremoves it) asstyle.setPropertywould, minus the mutation observers: the inspector’s edits are not the app’s. - shading
- The
--shadingeffect each state ofidresolved to,basefirst;noneis left out. - shading_
nodes - Elements in document order whose computed style paints a
--shadingeffect in some state, or whose inline style declares one. - side_
stats - text_
content - tree_
mem