Skip to content

Sanitize preserve-dom layout instance styles#587

Closed
chubes4 wants to merge 2 commits into
trunkfrom
fix/lab-fse-giant-sections-dom-20260707
Closed

Sanitize preserve-dom layout instance styles#587
chubes4 wants to merge 2 commits into
trunkfrom
fix/lab-fse-giant-sections-dom-20260707

Conversation

@chubes4

@chubes4 chubes4 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Normalize preserve-dom instance style declarations before hashing and emitting CSS.
  • Cover noisy layout style input so generated instance classes stay stable and safe.

Validation

  • php figma-transformer/tests/contract/run.php

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 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Closing this as out of scope for the current PHP Figma transformer work. This PR changes the Node/TypeScript packages/blocks-engine preserve-dom path, not the PHP figma-transformer .fig -> HTML/CSS/assets pipeline.

@chubes4 chubes4 closed this Jul 7, 2026
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