• JavaScript positioning fallback for browsers without CSS anchor positioning. Places floating relative to anchor with flip + shift collision handling, setting inline position/top/left plus data-hl-side/data-hl-align for CSS to react to (e.g. arrow direction). Modern engines never call this: the stylesheet positions floating surfaces declaratively. No-ops gracefully when the anchor has no layout box (e.g. jsdom).

    Parameters

    Returns PositionResult