79302982

Date: 2024-12-23 11:58:31
Score: 1
Natty:
Report link

I think it is because margin collapsing. You will got different top in case a child node of the one you call getBoundingClientRect() has margin-top defined. For some reason Safari includes it when other browsers don't.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ricudo