TorZillaPrint

return to TZP index

The elements: other PoC uses element.getBoundingClientRect() by default - but TZP can fall back to other DOMRect methods - where differences can occur, per browser engine. Additionally, some elements require display:inline otherwise errors and/or measurement differences can occur. And some elements will always error. This is a sanity test to see what is happening.

navigation keys shortcuts: ↑ ↓ → ← keys anywhere on the page




element.getBoundingClientRect()

element.getClientRects()[0]

range.getBoundingClientRect()

range.getClientRects()[0]