Skip to content

Preserve label/value row geometry - #723

Merged
chubes4 merged 1 commit into
trunkfrom
fix/722-preserve-row-geometry
Jul 28, 2026
Merged

Preserve label/value row geometry#723
chubes4 merged 1 commit into
trunkfrom
fix/722-preserve-row-geometry

Conversation

@chubes4

@chubes4 chubes4 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • require proven equal-width flex geometry before semantic label/value rows become core/columns
  • preserve stacked and content-sized flex rows as native Groups with source-owned CSS
  • retain semantic inline markup such as <time>, links, and emphasis through the Group path
  • cover the unchanged WP Codebox reproduction and existing faithful Columns behavior

Closes #722.

Verification

  • composer test
  • 255 parity fixtures
  • jq empty php-transformer/tests/fixtures/parity/*.json
  • git diff --check

Consumer contract

The WP Codebox #1975 explanatory HTML/CSS fixture was not modified to accommodate this transformer gap. Exact consumer parity remains the downstream acceptance test after this change is released through php-transformer and Static Site Importer.

AI assistance

OpenCode with OpenAI GPT-5.6 Sol implemented and reviewed the geometry classifier, semantic RichText preservation, and regression fixtures under Chris Huber's direction. Chris remains responsible for every line.

@chubes4
chubes4 merged commit e6a531e into trunk Jul 28, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/722-preserve-row-geometry branch July 28, 2026 17:39
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.

Preserve source geometry when label/value rows become Columns

1 participant