Skip to content

test(css-cascade-layers): capture that the next plugins don't process the nodes they insert - #13122

Merged
slorber merged 1 commit into
mainfrom
claude/css-layers-wrap-repro
Nov 26, 2026
Merged

slorber merged 1 commit into
mainfrom
claude/css-layers-wrap-repro

Conversation

@slorber

@slorber slorber commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

First PR of a bug fix stack: a test capturing how @docusaurus/plugin-css-cascade-layers currently behaves. Found while working on #13088, where rtlcss misses the var() fallbacks of postcss-preset-env in the wrapped files.

When it wraps a file in @layer, the plugin clones the root and appends the clone's nodes inside a plain {type: 'atrule', nodes} object. PostCSS adopts such an object as-is, without fixing the parent of its children: the wrapped rules still point to the detached clone. When a later plugin inserts a node in them, PostCSS marks the detached clone as dirty, not the real tree, so no plugin visits the new node.

The test reproduces it with 2 minimal plugins running after the wrap: one inserts a fallback before a var() declaration (like postcss-preset-env), the next one flips left to right (like rtlcss). The output shows the inserted fallback unflipped: left:1px;right:var(--width).

Test Plan

New postCssPlugin.test.ts unit test. Its inline snapshot shows the current, buggy, output. The next PR fixes it and updates the snapshot.

Test links

Deploy preview: https://deploy-preview-13122--docusaurus-2.netlify.app/

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Tests
    • Added coverage for CSS processing when plugins insert a fallback declaration and change a property from left to right.
    • The test verifies that the resulting declarations are wrapped in the expected CSS layer.

@slorber
slorber requested a review from Josh-Cena as a code owner November 26, 2026 14:33
@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Nov 26, 2026
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds a regression test for PostCssPluginWrapInLayer. It checks the output after fallback insertion and declaration flipping.

Changes: PostCSS plugin order test

Layer / File(s) Summary
Plugin order regression test
packages/docusaurus-plugin-css-cascade-layers/src/__tests__/postCssPlugin.test.ts
The test runs fallback insertion and declaration flipping after the layer-wrapping plugin. It checks that the resulting CSS is @layer myLayer{a{left:1px;right:var(--width)}}.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

  • meta/docusaurus#13123: Changes cloned root handling so later plugins visit nodes they insert. Its description identifies this test as confirming the fix.
  • meta/docusaurus#13088: Moves rtlcss to OnceExit to address later visitors missing nodes inserted after a CSS root is rebuilt.
Merge Risk: Minimal · up to cae1e

This change adds a regression test for the CSS cascade layers plugin and does not alter runtime behavior. It carries no meaningful merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the test as the change and the target as the css-cascade-layers plugin, which matches the changeset: a single new regression test in postCssPlugin.test.ts. The title is specific and ac…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the test as the change and the target as the css-cascade-layers plugin, which matches the changeset: a single new regression test in postCssPlugin.test.ts. The title is specific and accurate. It states the test captures the current behavior that subsequent plugins do not process nodes the plugin inserts, which matches the PR objectives. The title is not vague and not misleading.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ee70a16d-6396-4d33-a97d-08796cba19a5
Commits

Reviewing files that changed from the base of the PR and between e6b6428 and cae1e58.

Files selected for processing: 1

  • packages/docusaurus-plugin-css-cascade-layers/src/__tests__/postCssPlugin.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@netlify

netlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ [V2]

Name Link
🔨 Latest commit cae1e58
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6b08470898124bf3c5c8c9a3
😎 Deploy Preview https://deploy-preview-13122--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 12.1 MB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28.8 kB 0 B
website/.docusaurus/globalData.json 42.3 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 184 kB 0 B
website/.docusaurus/routes.js 94.3 kB 0 B
website/.docusaurus/routesChunkNames.json 96.2 kB 0 B
website/.docusaurus/site-metadata.json 2.59 kB 0 B
website/build/assets/css/styles.**********.css 146 kB 0 B
website/build/assets/js/main.**********.js 766 kB 0 B
website/build/assets/js/runtime~main.**********.js 43.1 kB 0 B
website/build/blog.html 79.1 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 67.1 kB +1 B (0%)
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46.3 kB +1 B (0%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.7 kB +6 B (+0.01%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.4 kB +1 B (0%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 41.4 kB +1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 33.9 kB +1 B (0%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 52.7 kB +1 B (0%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 48.7 kB +1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 49.4 kB +1 B (0%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 55.8 kB +1 B (0%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.5 kB +1 B (0%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 136 kB +1 B (0%)
website/build/blog/2022/09/01/docusaurus-2.1.html 52 kB +1 B (0%)
website/build/blog/archive.html 24.8 kB 0 B
website/build/blog/authors.html 52.1 kB 0 B
website/build/blog/authors/j-marcey.html 72.2 kB 0 B
website/build/blog/authors/josh-cena.html 48.4 kB 0 B
website/build/blog/authors/lex-111.html 57.4 kB 0 B
website/build/blog/authors/slorber.html 82.9 kB 0 B
website/build/blog/authors/slorber/page/2.html 82.2 kB 0 B
website/build/blog/authors/slorber/page/3.html 85.7 kB 0 B
website/build/blog/authors/slorber/page/4.html 98.5 kB 0 B
website/build/blog/authors/slorber/page/5.html 54.9 kB 0 B
website/build/blog/authors/yangshun.html 68.2 kB 0 B
website/build/blog/authors/zpao.html 48.9 kB 0 B
website/build/blog/page/2.html 78.3 kB 0 B
website/build/blog/page/3.html 82.7 kB 0 B
website/build/blog/page/4.html 87.2 kB 0 B
website/build/blog/page/5.html 74.5 kB 0 B
website/build/blog/page/6.html 42 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 129 kB +1 B (0%)
website/build/blog/releases/2.2.html 52 kB +1 B (0%)
website/build/blog/releases/2.3.html 62.6 kB 0 B
website/build/blog/releases/2.4.html 66.4 kB +1 B (0%)
website/build/blog/releases/3.0.html 109 kB +1 B (0%)
website/build/blog/releases/3.1.html 54.8 kB +1 B (0%)
website/build/blog/releases/3.2.html 50.6 kB +1 B (0%)
website/build/blog/releases/3.3.html 57.8 kB +1 B (0%)
website/build/blog/releases/3.4.html 57 kB 0 B
website/build/blog/releases/3.5.html 59.5 kB +1 B (0%)
website/build/blog/releases/3.6.html 76.5 kB 0 B
website/build/blog/releases/3.7.html 52.4 kB +1 B (0%)
website/build/blog/releases/3.8.html 87.7 kB 0 B
website/build/blog/releases/3.9.html 62.4 kB +1 B (0%)
website/build/blog/releases/3.10.html 92.9 kB +1 B (0%)
website/build/blog/tags.html 28.7 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 126 kB +1 B (0%)
website/build/docs.html 50.2 kB +1 B (0%)
website/build/docs/advanced.html 31.6 kB 0 B
website/build/docs/advanced/architecture.html 30.2 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 71.6 kB 0 B
website/build/docs/advanced/plugins.html 55.5 kB +1 B (0%)
website/build/docs/advanced/routing.html 70.8 kB +1 B (0%)
website/build/docs/advanced/ssg.html 75.4 kB +1 B (0%)
website/build/docs/api/docusaurus-config.html 236 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 51.5 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 37.1 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.7 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/logger.html 39.2 kB +1 B (0%)
website/build/docs/api/misc/create-docusaurus.html 38.4 kB +8 B (+0.02%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 61.8 kB 0 B
website/build/docs/api/plugin-methods/extend-infrastructure.html 75.9 kB 0 B
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.2 kB +1 B (0%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 163 kB +1 B (0%)
website/build/docs/api/plugin-methods/static-methods.html 45.1 kB +1 B (0%)
website/build/docs/api/plugins.html 32.5 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 60.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 185 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 192 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 75.1 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 58 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.4 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 48.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 57.8 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 117 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 41.4 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 91.1 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 60.9 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 41.2 kB +1 B (0%)
website/build/docs/api/themes.html 30.2 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 44 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37.1 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.9 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.6 kB 0 B
website/build/docs/api/themes/configuration.html 254 kB 0 B
website/build/docs/blog.html 200 kB 0 B
website/build/docs/browser-support.html 47.2 kB 0 B
website/build/docs/category/getting-started.html 28.5 kB 0 B
website/build/docs/category/guides.html 39 kB 0 B
website/build/docs/category/miscellaneous.html 28.3 kB 0 B
website/build/docs/cli.html 70.5 kB 0 B
website/build/docs/configuration.html 93.6 kB +1 B (0%)
website/build/docs/create-doc.html 62.2 kB +1 B (0%)
website/build/docs/creating-pages.html 57.6 kB +1 B (0%)
website/build/docs/deployment.html 67.5 kB +1 B (0%)
website/build/docs/deployment/github-pages.html 120 kB +1 B (0%)
website/build/docs/deployment/netlify.html 39.3 kB 0 B
website/build/docs/deployment/vercel.html 33.2 kB 0 B
website/build/docs/docs-introduction.html 50.6 kB 0 B
website/build/docs/docs-multi-instance.html 74.7 kB +1 B (0%)
website/build/docs/docusaurus-core.html 227 kB +1 B (0%)
website/build/docs/guides/whats-next.html 33.1 kB 0 B
website/build/docs/i18n/crowdin.html 148 kB +1 B (0%)
website/build/docs/i18n/git.html 81 kB +1 B (0%)
website/build/docs/i18n/introduction.html 49.7 kB +1 B (0%)
website/build/docs/i18n/tutorial.html 170 kB 0 B
website/build/docs/installation.html 72.3 kB 0 B
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 85.4 kB +1 B (0%)
website/build/docs/markdown-features/admonitions.html 118 kB +1 B (0%)
website/build/docs/markdown-features/assets.html 93.4 kB 0 B
website/build/docs/markdown-features/code-blocks.html 222 kB +1 B (0%)
website/build/docs/markdown-features/diagrams.html 61.8 kB 0 B
website/build/docs/markdown-features/head-metadata.html 51.5 kB +1 B (0%)
website/build/docs/markdown-features/links.html 41.4 kB +6 B (+0.01%)
website/build/docs/markdown-features/math-equations.html 92.7 kB 0 B
website/build/docs/markdown-features/plugins.html 96.6 kB +1 B (0%)
website/build/docs/markdown-features/react.html 131 kB +1 B (0%)
website/build/docs/markdown-features/tabs.html 141 kB 0 B
website/build/docs/markdown-features/toc.html 88 kB +1 B (0%)
website/build/docs/migration.html 39.3 kB +1 B (0%)
website/build/docs/migration/v3.html 191 kB +1 B (0%)
website/build/docs/playground.html 32 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 125 kB 0 B
website/build/docs/seo.html 88.8 kB 0 B
website/build/docs/sidebar.html 137 kB +1 B (0%)
website/build/docs/sidebar/autogenerated.html 148 kB +1 B (0%)
website/build/docs/sidebar/items.html 176 kB +1 B (0%)
website/build/docs/sidebar/multiple-sidebars.html 62.8 kB +1 B (0%)
website/build/docs/static-assets.html 55.1 kB 0 B
website/build/docs/styling-layout.html 149 kB 0 B
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 113 kB +1 B (0%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 67.2 kB 0 B
website/build/docs/using-plugins.html 107 kB 0 B
website/build/docs/versioning.html 93.2 kB 0 B
website/build/index.html 37.1 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 58 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 60 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 71 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 65 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 67 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 69 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 66 🟢 100 🟢 100 🟠 86 Report

@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 12.1 MB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28.8 kB 0 B
website/.docusaurus/globalData.json 42.3 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 184 kB 0 B
website/.docusaurus/routes.js 94.3 kB 0 B
website/.docusaurus/routesChunkNames.json 96.2 kB 0 B
website/.docusaurus/site-metadata.json 2.59 kB 0 B
website/build/assets/css/styles.**********.css 146 kB 0 B
website/build/assets/js/main.**********.js 765 kB 0 B
website/build/assets/js/runtime~main.**********.js 42.9 kB 0 B
website/build/blog.html 79.1 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 67.1 kB +1 B (0%)
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46.3 kB +1 B (0%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.7 kB +6 B (+0.01%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.4 kB +1 B (0%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 41.4 kB +1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 33.9 kB +1 B (0%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 52.7 kB +1 B (0%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 48.7 kB +1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 49.4 kB +1 B (0%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 55.8 kB +1 B (0%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.5 kB +1 B (0%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 136 kB +1 B (0%)
website/build/blog/2022/09/01/docusaurus-2.1.html 52 kB +1 B (0%)
website/build/blog/archive.html 24.8 kB 0 B
website/build/blog/authors.html 52.1 kB 0 B
website/build/blog/authors/j-marcey.html 72.2 kB 0 B
website/build/blog/authors/josh-cena.html 48.4 kB 0 B
website/build/blog/authors/lex-111.html 57.4 kB 0 B
website/build/blog/authors/slorber.html 82.9 kB 0 B
website/build/blog/authors/slorber/page/2.html 82.2 kB 0 B
website/build/blog/authors/slorber/page/3.html 85.7 kB 0 B
website/build/blog/authors/slorber/page/4.html 98.5 kB 0 B
website/build/blog/authors/slorber/page/5.html 54.9 kB 0 B
website/build/blog/authors/yangshun.html 68.2 kB 0 B
website/build/blog/authors/zpao.html 48.9 kB 0 B
website/build/blog/page/2.html 78.3 kB 0 B
website/build/blog/page/3.html 82.7 kB 0 B
website/build/blog/page/4.html 87.2 kB 0 B
website/build/blog/page/5.html 74.5 kB 0 B
website/build/blog/page/6.html 42 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 129 kB +1 B (0%)
website/build/blog/releases/2.2.html 52 kB +1 B (0%)
website/build/blog/releases/2.3.html 62.6 kB 0 B
website/build/blog/releases/2.4.html 66.4 kB +1 B (0%)
website/build/blog/releases/3.0.html 109 kB +1 B (0%)
website/build/blog/releases/3.1.html 54.8 kB +1 B (0%)
website/build/blog/releases/3.2.html 50.6 kB +1 B (0%)
website/build/blog/releases/3.3.html 57.8 kB +1 B (0%)
website/build/blog/releases/3.4.html 57 kB 0 B
website/build/blog/releases/3.5.html 59.5 kB +1 B (0%)
website/build/blog/releases/3.6.html 76.5 kB 0 B
website/build/blog/releases/3.7.html 52.4 kB +1 B (0%)
website/build/blog/releases/3.8.html 87.7 kB 0 B
website/build/blog/releases/3.9.html 62.4 kB +1 B (0%)
website/build/blog/releases/3.10.html 92.9 kB +1 B (0%)
website/build/blog/tags.html 28.7 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 126 kB +1 B (0%)
website/build/docs.html 50.2 kB +1 B (0%)
website/build/docs/advanced.html 31.6 kB 0 B
website/build/docs/advanced/architecture.html 30.2 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 71.6 kB 0 B
website/build/docs/advanced/plugins.html 55.5 kB +1 B (0%)
website/build/docs/advanced/routing.html 70.8 kB +1 B (0%)
website/build/docs/advanced/ssg.html 75.4 kB +1 B (0%)
website/build/docs/api/docusaurus-config.html 236 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 51.5 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 37.1 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.7 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/logger.html 39.2 kB +1 B (0%)
website/build/docs/api/misc/create-docusaurus.html 38.4 kB +8 B (+0.02%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 61.8 kB 0 B
website/build/docs/api/plugin-methods/extend-infrastructure.html 75.9 kB 0 B
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.2 kB +1 B (0%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 163 kB +1 B (0%)
website/build/docs/api/plugin-methods/static-methods.html 45.1 kB +1 B (0%)
website/build/docs/api/plugins.html 32.5 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 60.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 185 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 192 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 75.1 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 58 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.4 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 48.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 57.8 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 117 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 41.4 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 91.1 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 60.9 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 41.2 kB +1 B (0%)
website/build/docs/api/themes.html 30.2 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 44 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37.1 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.9 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.6 kB 0 B
website/build/docs/api/themes/configuration.html 254 kB 0 B
website/build/docs/blog.html 200 kB 0 B
website/build/docs/browser-support.html 47.2 kB 0 B
website/build/docs/category/getting-started.html 28.5 kB 0 B
website/build/docs/category/guides.html 39 kB 0 B
website/build/docs/category/miscellaneous.html 28.3 kB 0 B
website/build/docs/cli.html 70.5 kB 0 B
website/build/docs/configuration.html 93.6 kB +1 B (0%)
website/build/docs/create-doc.html 62.2 kB +1 B (0%)
website/build/docs/creating-pages.html 57.6 kB +1 B (0%)
website/build/docs/deployment.html 67.5 kB +1 B (0%)
website/build/docs/deployment/github-pages.html 120 kB +1 B (0%)
website/build/docs/deployment/netlify.html 39.3 kB 0 B
website/build/docs/deployment/vercel.html 33.2 kB 0 B
website/build/docs/docs-introduction.html 50.6 kB 0 B
website/build/docs/docs-multi-instance.html 74.7 kB +1 B (0%)
website/build/docs/docusaurus-core.html 227 kB +1 B (0%)
website/build/docs/guides/whats-next.html 33.1 kB 0 B
website/build/docs/i18n/crowdin.html 148 kB +1 B (0%)
website/build/docs/i18n/git.html 81 kB +1 B (0%)
website/build/docs/i18n/introduction.html 49.7 kB +1 B (0%)
website/build/docs/i18n/tutorial.html 170 kB 0 B
website/build/docs/installation.html 72.3 kB 0 B
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 85.4 kB +1 B (0%)
website/build/docs/markdown-features/admonitions.html 118 kB +1 B (0%)
website/build/docs/markdown-features/assets.html 93.4 kB 0 B
website/build/docs/markdown-features/code-blocks.html 222 kB +1 B (0%)
website/build/docs/markdown-features/diagrams.html 61.8 kB 0 B
website/build/docs/markdown-features/head-metadata.html 51.5 kB +1 B (0%)
website/build/docs/markdown-features/links.html 41.4 kB +6 B (+0.01%)
website/build/docs/markdown-features/math-equations.html 92.7 kB 0 B
website/build/docs/markdown-features/plugins.html 96.6 kB +1 B (0%)
website/build/docs/markdown-features/react.html 131 kB +1 B (0%)
website/build/docs/markdown-features/tabs.html 141 kB 0 B
website/build/docs/markdown-features/toc.html 88 kB +1 B (0%)
website/build/docs/migration.html 39.3 kB +1 B (0%)
website/build/docs/migration/v3.html 191 kB +1 B (0%)
website/build/docs/playground.html 32 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 125 kB 0 B
website/build/docs/seo.html 88.8 kB 0 B
website/build/docs/sidebar.html 137 kB +1 B (0%)
website/build/docs/sidebar/autogenerated.html 148 kB +1 B (0%)
website/build/docs/sidebar/items.html 176 kB +1 B (0%)
website/build/docs/sidebar/multiple-sidebars.html 62.8 kB +1 B (0%)
website/build/docs/static-assets.html 55.1 kB 0 B
website/build/docs/styling-layout.html 149 kB 0 B
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 113 kB +1 B (0%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 67.2 kB 0 B
website/build/docs/using-plugins.html 107 kB 0 B
website/build/docs/versioning.html 93.2 kB 0 B
website/build/index.html 37.1 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

… the nodes they insert

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@slorber
slorber force-pushed the claude/css-layers-wrap-repro branch from e6b6428 to cae1e58 Compare November 26, 2026 14:49
@slorber slorber changed the title test(css-cascade-layers): capture that the next plugins don't visit the nodes they insert test(css-cascade-layers): capture that the next plugins don't process the nodes they insert Nov 26, 2026
@slorber
slorber merged commit ee01b4a into main Nov 26, 2026
46 checks passed
@slorber
slorber deleted the claude/css-layers-wrap-repro branch November 26, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant