Re: [csswg-drafts] [cssom-view] No browsers honor "the HTML body element" in `offsetTop`

It's non-conforming to have a `body` element anywhere other than as 
"the body element", so it's OK to not make sense. There's also 
precedent for similar nonsense, like:

```
<script>
 var body = document.createElement('body');
 body.onload = function() { alert(1) }; // same as window.onload
</script>
```

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/584#issuecomment-254877077 
using your GitHub account

Received on Wednesday, 19 October 2016 17:06:17 UTC