mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Pass the correct argument to Element::create when cloning.
The current code calls as_slice() on the Option, yielding &[DOMString], and then calls to_string, yielding "[prefix]".
This commit is contained in:
parent
026b5e34ea
commit
82ff32a710
3 changed files with 1 additions and 13 deletions
|
@ -3,9 +3,3 @@
|
|||
[tagName should be updated when changing ownerDocument]
|
||||
expected: FAIL
|
||||
|
||||
[tagName should be updated when changing ownerDocument (createDocument without prefix)]
|
||||
expected: FAIL
|
||||
|
||||
[tagName should be updated when changing ownerDocument (createDocument with prefix)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
[Node-cloneNode.html]
|
||||
type: testharness
|
||||
[Unprefixed HTML element]
|
||||
expected: FAIL
|
||||
|
||||
[Prefixed HTML element]
|
||||
expected: FAIL
|
||||
|
||||
[Prefixed non-HTML element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue