Skip to content

Reduce decorative SVG preserve-dom fallbacks#589

Merged
chubes4 merged 1 commit into
trunkfrom
fix/lab-svg-island-reducer-20260707
Jul 7, 2026
Merged

Reduce decorative SVG preserve-dom fallbacks#589
chubes4 merged 1 commit into
trunkfrom
fix/lab-svg-island-reducer-20260707

Conversation

@chubes4

@chubes4 chubes4 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Convert explicitly decorative inline SVGs into native image blocks in preserve-dom reconstruction.
  • Keep ambiguous unlabeled SVGs as HTML fallback islands.

Validation

  • ./node_modules/.bin/vitest run src/theme/preserve-dom/tests/strategy.test.ts
  • ./node_modules/.bin/tsc --noEmit

Residual Risk

  • corepack pnpm scripts are blocked locally by pnpm's esbuild build-approval policy; direct local binaries passed after dependency materialization.

AI assistance

  • AI assistance: Yes
  • Tool(s): GPT 5.5 via OpenCode, plus Lab OpenCode subagent
  • Used for: Drafted the focused patch, rebased it locally, and ran validation.

@chubes4 chubes4 merged commit e24f96e into trunk Jul 7, 2026
2 checks passed
@chubes4 chubes4 deleted the fix/lab-svg-island-reducer-20260707 branch July 7, 2026 12:50
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