Skip to content

Bridge scoped styles to component roots - #3

Merged
Error-Zhang merged 2 commits into
mainfrom
codex/component-root-style-scope
Aug 3, 2026
Merged

Error-Zhang merged 2 commits into
mainfrom
codex/component-root-style-scope

Conversation

@Error-Zhang

Copy link
Copy Markdown
Contributor

Summary

  • propagate a parent scoped-style marker only to a child component top-level DOM root
  • keep arbitrary child internals private
  • retain a compiler regression and document the CSS boundary

Dogfood issue fixed

The official Website styles Link and NavLink roots from wrapper components. Those anchors previously missed the parent scope marker and fell back to browser-default underlined styles.

Verification

  • npm run check
  • npm test (198 passing)
  • npm run test:browser
  • official Website validate
  • official Website three-engine browser suite (12 passing)

@Error-Zhang
Error-Zhang marked this pull request as ready for review August 3, 2026 08:05
@Error-Zhang
Error-Zhang merged commit 74e4ffa into main Aug 3, 2026
8 checks passed
@Error-Zhang
Error-Zhang deleted the codex/component-root-style-scope branch August 3, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant