Floating positioning engines compute coordinates via getBoundingClientRect() and middleware pipelines (flip, shift, offset) synced to scroll and resize.
anchor-name and anchor() tether popovers and tooltips to trigger elements natively in Layout, including viewport-collision flips.
Declarative anchor() and position-try-fallbacks replace JS getBoundingClientRect() measurement and repositioning loops.