Format Element#tagName correctly when there's a prefix.

format!("{}", atom) yields strings like "Atom('span' type=Inline)", which is
not intended here.
This commit is contained in:
Ms2ger 2014-10-30 11:51:24 +01:00
parent f9b84fd870
commit 671a487145
4 changed files with 5 additions and 24 deletions

View file

@ -9,15 +9,3 @@
[Invalid namespace http://www.w3.org/2000/xmlns/ and QName foo:xmlns]
expected: FAIL
[Lower-case HTML element with a prefix]
expected: FAIL
[Upper-case HTML element with a prefix]
expected: FAIL
[Lower-case non-HTML element with a prefix]
expected: FAIL
[Upper-case non-HTML element with a prefix]
expected: FAIL

View file

@ -1,11 +1,5 @@
[Element-tagName.html]
type: testharness
[tagName should upper-case for HTML elements in HTML documents.]
expected: FAIL
[tagName should be updated when changing ownerDocument]
expected: FAIL
[tagName should not upper-case for SVG elements in HTML documents.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[Node-nodeName.html]
type: testharness
[For Element nodes, nodeName should return the same as tagName.]
expected: FAIL