Skip to content

fix: scope shadow root CSS properties#2446

Open
cookesan wants to merge 1 commit into
wxt-dev:mainfrom
cookesan:scope-shadow-root-properties
Open

fix: scope shadow root CSS properties#2446
cookesan wants to merge 1 commit into
wxt-dev:mainfrom
cookesan:scope-shadow-root-properties

Conversation

@cookesan

Copy link
Copy Markdown
Contributor

Summary

  • scope document-level @property registrations with the runtime extension ID
  • rewrite matching shadow-root CSS references for those registered properties
  • add splitter and content-script UI coverage for Tailwind-style registered properties

Tests

  • bun run test run src/utils/__tests__/split-shadow-root-css.test.ts
  • bun run test run src/utils/content-script-ui/__tests__/index.test.ts
  • bun run --filter wxt check
  • bun run docs:build

Fixes #1955

@cookesan cookesan requested a review from aklinker1 as a code owner June 28, 2026 18:37
@netlify

netlify Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 08b58e5
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6a416a02a9b04e00082b9bee
😎 Deploy Preview https://deploy-preview-2446--creative-fairy-df92c4.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 github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS @property conflicts when extension uses Tailwind v4 and host page uses Tailwind v3

1 participant