Re: [html-tests] Add a test for property lookup in event handlers (#5757)

Note that the following already yields different results
```
.<button id="foo">x</button>
<object id="foo"></object>
<script>w(window.foo)</script>
```
and indicate a bug in Firefox per the HTML Standard (it doesn't return an `HTMLCollection`, it returns just the `button` element). Not entirely sure how in your scenario though Chrome ends up returning a single object from `.foo`.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5757#issuecomment-298633062

Received on Tuesday, 2 May 2017 13:19:44 UTC