diff --git a/.changeset/tidy-buttons-end.md b/.changeset/tidy-buttons-end.md new file mode 100644 index 0000000000..aec9e639b9 --- /dev/null +++ b/.changeset/tidy-buttons-end.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Adds handling of declarative shadow DOMs during view transitions for browsers that support them via `includeShadowRoots`. diff --git a/packages/astro/e2e/fixtures/view-transitions/src/pages/declarative-shadow-dom.astro b/packages/astro/e2e/fixtures/view-transitions/src/pages/declarative-shadow-dom.astro new file mode 100644 index 0000000000..9a61545cda --- /dev/null +++ b/packages/astro/e2e/fixtures/view-transitions/src/pages/declarative-shadow-dom.astro @@ -0,0 +1,7 @@ +--- +import Layout from '../components/Layout.astro'; +--- + +

Shadow DOM

+

+
diff --git a/packages/astro/e2e/fixtures/view-transitions/src/pages/one.astro b/packages/astro/e2e/fixtures/view-transitions/src/pages/one.astro index 8e34eb5559..8b9b5dcd4e 100644 --- a/packages/astro/e2e/fixtures/view-transitions/src/pages/one.astro +++ b/packages/astro/e2e/fixtures/view-transitions/src/pages/one.astro @@ -12,6 +12,7 @@ import Layout from '../components/Layout.astro'; go to redirect 2 go to a redirect external go to undefined page + page with DSD