title: Safari's getBoundingClientRect() Implementation Returns Incorrect Top
body: <p>I have a <code>div</code> with <code>float: right</code> and I'm trying to get its distance from the top of the viewport. In every browser except Safari I'm getting the expected results from <code>element.getBoundingClientRect().top</code>. Safari appears to be reporting the element's distance from the top of the page rather than the viewport. This is contrary to what is defined in the <a href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect" rel="noreferrer">spec for this method</a> (as I understand it). Is Safari just not following the rules here, or are other browsers being more forgiving of some mistake of mine that I'm not seeing?</p>