Skip to content

Preserve class-owned column max-width geometry - #715

Merged
chubes4 merged 1 commit into
trunkfrom
fix/714-column-max-width-validity
Jul 28, 2026
Merged

Preserve class-owned column max-width geometry#715
chubes4 merged 1 commit into
trunkfrom
fix/714-column-max-width-validity

Conversation

@chubes4

@chubes4 chubes4 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Keep class-owned max-width geometry in generated CSS instead of serializing unsupported core/column inline style.

What changed

  • Removed max-width from core/column style serialization while retaining it in generated class geometry, with a regression contract proving parsed Gutenberg validity and preserved CSS.

How to test

  1. Run cd php-transformer && php tests/contract/run.php; expect The transformer contract suite passes, including class-owned column max-width validity..
  2. Run cd php-transformer && composer test:canonical; expect The canonical artifact compiler and HTML transformer suites pass..

Compatibility

The change narrows core/column serialization to attributes supported by Gutenberg save output; class-owned max-width remains rendered through the existing generated CSS path.

Evidence

AI assistance

  • AI assistance: Yes
  • Tool(s): Homeboy (OpenCode via Homeboy)
  • Model: openai/gpt-5.6-sol
  • Used for: Diagnosed the invalid Gutenberg serialization, implemented the focused ownership fix and regression contract, and verified the canonical transformer suites; Chris Huber remains responsible for every line.

Source relationships

@chubes4
chubes4 merged commit 4d23318 into trunk Jul 28, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/714-column-max-width-validity branch July 28, 2026 12:01
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.

Keep class-owned max-width off core/column serialized style

1 participant