mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
implement Document#createAttribute
This commit is contained in:
parent
b4c3aec383
commit
4b754bd457
8 changed files with 43 additions and 66 deletions
|
@ -126,9 +126,6 @@
|
|||
[Document interface: operation importNode(Node,boolean)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: operation createAttribute(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: operation createAttributeNS(DOMString,DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -180,12 +177,6 @@
|
|||
[Document interface: xmlDoc must inherit property "origin" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "createAttribute" with the proper type (20)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: calling createAttribute(DOMString) on xmlDoc with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: xmlDoc must inherit property "createAttributeNS" with the proper type (21)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
[Document-createAttribute.html]
|
||||
type: testharness
|
||||
[createAttribute("")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("invalid^Name")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("\\\\")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("\'")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("\\"")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("0")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("0:a")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("title")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute("TITLE")]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute(null)]
|
||||
expected: FAIL
|
||||
|
||||
[createAttribute(undefined)]
|
||||
expected: FAIL
|
||||
|
|
@ -1053,12 +1053,6 @@
|
|||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "origin" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "createAttribute" with the proper type (20)]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: calling createAttribute(DOMString) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "createAttributeNS" with the proper type (21)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue