fix(ivy): handle namespaces in attributes (#28242)
Adds handling for namespaced attributes when generating the template and in the `elementAttribute` instruction. PR Close #28242
This commit is contained in:

committed by
Alex Rickabaugh

parent
03c8528fcb
commit
9f9024b7a1
@ -394,7 +394,7 @@ class MockRenderer implements ProceduralRenderer3 {
|
||||
destroy(): void {}
|
||||
createComment(value: string): RComment { return document.createComment(value); }
|
||||
createElement(name: string, namespace?: string|null): RElement {
|
||||
return document.createElement(name);
|
||||
return namespace ? document.createElementNS(namespace, name) : document.createElement(name);
|
||||
}
|
||||
createText(value: string): RText { return document.createTextNode(value); }
|
||||
appendChild(parent: RElement, newChild: RNode): void { parent.appendChild(newChild); }
|
||||
|
Reference in New Issue
Block a user