Implement HTMLDetailsElement. Fixes #9216

This commit is contained in:
Lanza 2016-01-11 12:46:39 +01:00
parent 6663f28f0d
commit cfc3500dbf
13 changed files with 126 additions and 189 deletions

View file

@ -1,11 +0,0 @@
[details.html]
type: testharness
[HTMLDetailsElement should be exposed for prototyping]
expected: FAIL
[a dynamically created details element should be instanceof HTMLDetailsElement]
expected: FAIL
[a details element from the parser should be instanceof HTMLDetailsElement]
expected: FAIL

View file

@ -1,21 +0,0 @@
[toggleEvent.html]
type: testharness
expected: TIMEOUT
[Adding open to 'details' should fire a toggle event at the 'details' element]
expected: NOTRUN
[Removing open from 'details' should fire a toggle event at the 'details' element]
expected: NOTRUN
[Adding open to 'details' (display:none) should fire a toggle event at the 'details' element]
expected: NOTRUN
[Adding open from 'details' (no children) should fire a toggle event at the 'details' element]
expected: NOTRUN
[Calling open twice on 'details' fires only one toggle event]
expected: FAIL
[Adding open to 'details' (not in the document) should fire a toggle event at the 'details' element]
expected: TIMEOUT