mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
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:
parent
f9b84fd870
commit
671a487145
4 changed files with 5 additions and 24 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[Node-nodeName.html]
|
||||
type: testharness
|
||||
[For Element nodes, nodeName should return the same as tagName.]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue