Primitives / foldkit-primitives/dom
boxOf
function · packages/primitives/src/dom/pointer-drag.ts:94
function boxOf(element: Element): DOMRectAn element's box. An element drawn as display: contents has none, so its
first child's stands for it, as an editor's node wrapper's does.