Skip to content

Commit

Permalink
🐛 fix shadow DOM serialization (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjwala authored Jan 30, 2023
1 parent bf51b2c commit 1f5de36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon-test-support/@percy/ember/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function scopeDOM(scope, dom) {
if (!$scoped) return;

// replace body content with scoped content
$body.innerHTML = $scoped.innerHTML;
$body.replaceChildren(...$scoped.children);

// copy scoped attributes to the body element
for (let i = 0; i < $scoped.attributes.length; i++) {
Expand Down

0 comments on commit 1f5de36

Please sign in to comment.