mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement HTMLDetailsElement. Fixes #9216
This commit is contained in:
parent
6663f28f0d
commit
cfc3500dbf
13 changed files with 126 additions and 189 deletions
|
@ -216,9 +216,6 @@
|
|||
[Document interface: attribute ontimeupdate]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute ontoggle]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute onvolumechange]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1776,9 +1773,6 @@
|
|||
[HTMLElement interface: attribute ontimeupdate]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute ontoggle]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: attribute onvolumechange]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2010,9 +2004,6 @@
|
|||
[HTMLElement interface: document.createElement("noscript") must inherit property "ontimeupdate" with the proper type (91)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "ontoggle" with the proper type (92)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onvolumechange" with the proper type (93)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5526,30 +5517,6 @@
|
|||
[ValidityState interface: document.createElement("input").validity must inherit property "valid" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface: attribute open]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement must be primary interface of document.createElement("details")]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of document.createElement("details")]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface: document.createElement("details") must inherit property "open" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMenuElement interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8823,9 +8790,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "ontimeupdate" with the proper type (153)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "ontoggle" with the proper type (154)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onvolumechange" with the proper type (155)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -9042,9 +9006,6 @@
|
|||
[AutocompleteErrorEvent interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLDetailsElement interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMenuElement interface object name]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -9140,4 +9101,3 @@
|
|||
|
||||
[WebSocket interface: new WebSocket("ws://foo") must inherit property "extensions" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5529,114 +5529,6 @@
|
|||
[details.tabIndex: IDL set to -2147483648 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: setAttribute() to "open" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to "" followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to undefined followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to null followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to false followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to NaN followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.open: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[details.itemScope: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13106,4 +12998,3 @@
|
|||
|
||||
[dialog.itemId: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -21,9 +21,6 @@
|
|||
[Interfaces for xmp]
|
||||
expected: FAIL
|
||||
|
||||
[Interfaces for details]
|
||||
expected: FAIL
|
||||
|
||||
[Interfaces for command]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -48,9 +45,6 @@
|
|||
[Interfaces for XMP]
|
||||
expected: FAIL
|
||||
|
||||
[Interfaces for DETAILS]
|
||||
expected: FAIL
|
||||
|
||||
[Interfaces for COMMAND]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -65,4 +59,3 @@
|
|||
|
||||
[Interfaces for RTC]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -117,6 +117,7 @@ var interfaceNamesInGlobalScope = [
|
|||
"HTMLCollection",
|
||||
"HTMLDataElement",
|
||||
"HTMLDataListElement",
|
||||
"HTMLDetailsElement",
|
||||
"HTMLDialogElement",
|
||||
"HTMLDirectoryElement",
|
||||
"HTMLDivElement",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue