Fix SVG element update with tag change
Fixes the new failing test. Before: the updated element is unknown HTML After: the updated element is an SVG element
This commit is contained in:
parent
d539c515ea
commit
7163d5f744
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ module.exports = function($window) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
removeNode(old, null)
|
removeNode(old, null)
|
||||||
insertNode(parent, createNode(vnode, hooks, undefined), nextSibling)
|
insertNode(parent, createNode(vnode, hooks, ns), nextSibling)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function updateText(old, vnode) {
|
function updateText(old, vnode) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue