🔸.boundingBox
Last updated
Was this helpful?
Last updated
Was this helpful?
browser ⟩ DOM ⟩ type ⟩ Element ⟩ boxes ⟩ Element+boxes ⟩ .boundingBox
size: (may be fractional)
almost the same as .borderBox size (integer-valued).
"box-sizing: border-box" size = (width, height) -> padding/border included.
👉 compare: .borderBox (a Rect relative to .offsetParent)
💾 Element+boxes, 👉 coordinates