Implement the whole Attr interface

This commit is contained in:
Tom Schuster 2014-11-07 14:36:57 +01:00
parent 23b75816a2
commit 96e42feaa1
4 changed files with 25 additions and 55 deletions

View file

@ -504,24 +504,6 @@
[NamedNodeMap interface: operation removeNamedItemNS(DOMString,DOMString)]
expected: FAIL
[Attr interface: attribute textContent]
expected: FAIL
[Attr interface: attribute ownerElement]
expected: FAIL
[Attr interface: attribute specified]
expected: FAIL
[Attr interface: document.querySelector("[id\]").attributes[0\] must inherit property "textContent" with the proper type (5)]
expected: FAIL
[Attr interface: document.querySelector("[id\]").attributes[0\] must inherit property "ownerElement" with the proper type (6)]
expected: FAIL
[Attr interface: document.querySelector("[id\]").attributes[0\] must inherit property "specified" with the proper type (7)]
expected: FAIL
[CharacterData interface: attribute previousElementSibling]
expected: FAIL

View file

@ -1,9 +1,7 @@
[attributes.html]
type: testharness
[setAttribute should not change the order of previously set attributes.]
expected: FAIL
[setAttribute should set the first attribute with the given name]
[AttrExodus]
expected: FAIL
[setAttribute should set the attribute with the given qualified name]
@ -12,36 +10,6 @@
[When qualifiedName does not match the QName production, an NAMESPACE_ERR exception is to be thrown.]
expected: FAIL
[null and the empty string should result in a null namespace.]
expected: FAIL
[XML-namespaced attributes don\'t need an xml prefix]
expected: FAIL
[xmlns should be allowed as local name]
expected: FAIL
[xmlns should be allowed as prefix in the XMLNS namespace]
expected: FAIL
[xmlns should be allowed as qualified name in the XMLNS namespace]
expected: FAIL
[Setting the same attribute with another prefix should not change the prefix]
expected: FAIL
[Attributes should work in document fragments.]
expected: FAIL
[Attribute values should not be parsed.]
expected: FAIL
[Specified attributes should be accessible.]
expected: FAIL
[Entities in attributes should have been expanded while parsing.]
expected: FAIL
[First set attribute is returned by getAttribute]
expected: FAIL