Fix the "get the parent" loop when dispatching event (fixes #6733)

The DOM specification says:

A document's get the parent algorithm, given an event, returns null
if event's type attribute value is "load" or document does not have
a browsing context, and the document's associated Window object
otherwise.
This commit is contained in:
Anthony Ramine 2016-02-24 01:05:37 +01:00
parent 0455b0b301
commit e70b520c1f
17 changed files with 62 additions and 95 deletions

View file

@ -1,3 +1,5 @@
[before-load-001.htm]
type: testharness
expected: TIMEOUT
[transition height from 10px to 100px / events]
expected: FAIL