Skip to content

Sharpen raw HTML canvas fallback diagnostics#116

Merged
chubes4 merged 1 commit into
trunkfrom
fix/raw-html-canvas-diagnostic
Jun 24, 2026
Merged

Sharpen raw HTML canvas fallback diagnostics#116
chubes4 merged 1 commit into
trunkfrom
fix/raw-html-canvas-diagnostic

Conversation

@chubes4

@chubes4 chubes4 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat raw HTML as a canvas-specific runtime fallback instead of a generic unsupported element.
  • Preserve bounded sanitized canvas markup and safe id/class/size attributes in fallback metadata for runtime mapping.
  • Surface script dependency hints when scripts may target the canvas element, while continuing to avoid core/html/raw canvas block output.

Testing

  • php tests/contract/run.php
  • composer test

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Investigation, implementation, tests, and PR preparation.

@chubes4 chubes4 merged commit 849a914 into trunk Jun 24, 2026
1 check passed
@chubes4 chubes4 deleted the fix/raw-html-canvas-diagnostic branch June 24, 2026 17:26
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