From 4d9021465a2f474d13b34776e7436357528140e8 Mon Sep 17 00:00:00 2001 From: Chris Fasel Date: Sun, 7 May 2023 08:45:25 +0200 Subject: [PATCH] #898@minor: Change deprecated shadowroot attribute to shadowrootmode. --- packages/happy-dom/src/xml-serializer/XMLSerializer.ts | 2 +- packages/happy-dom/test/xml-serializer/XMLSerializer.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/happy-dom/src/xml-serializer/XMLSerializer.ts b/packages/happy-dom/src/xml-serializer/XMLSerializer.ts index 9a255bb57..c2f3b5f1a 100644 --- a/packages/happy-dom/src/xml-serializer/XMLSerializer.ts +++ b/packages/happy-dom/src/xml-serializer/XMLSerializer.ts @@ -40,7 +40,7 @@ export default class XMLSerializer { } if (options?.includeShadowRoots && element.shadowRoot) { - innerHTML += `