Skip to content

fix(php-transformer): honor explicit block flow before inferring columns - #1631

Open
chubes4 wants to merge 1 commit into
trunkfrom
fix/potted-layout-projection
Open

fix(php-transformer): honor explicit block flow before inferring columns#1631
chubes4 wants to merge 1 commit into
trunkfrom
fix/potted-layout-projection

Conversation

@chubes4

@chubes4 chubes4 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #1628.

Honor explicit normal-flow display evidence before inferring native Columns from semantic sidebar/content children. A wrapper with authored display:block must remain a Group rather than acquiring an equal-width flex row and a Gutenberg column gap.

The reduced fixture uses ordinary classes and semantic children. The fix adds no source-platform marker or site-specific exception.

Verification

  • php php-transformer/tests/unit/block-style-support-conversion.php: 138 assertions passed.
  • composer test from php-transformer/: canonical, unit, 303 parity fixtures, distribution-shape and package-install checks passed.
  • Shared static-style geometry comparison of the reduced normal-flow fixture reports geometry, property parity and coverage of 1.
  • PHP syntax and diff checks passed.

This fixes one proven layout inference defect. Full Potted site parity remains an independent acceptance gate after refreshing the paired importer package and reimporting.

AI Assistance

GPT-5.6 Terra via OpenCode traced the source and generated geometry, corrected the initial ownership diagnosis, implemented the generic inference guard and verified it. GPT-6 Astra via OpenCode reviewed the scope and diff and prepared publication. Chris directed the work and authorized direct execution while the orchestration control plane was blocked.

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 injected responsive document roots as block shells

1 participant