Repository navigation
php-transformer: emit content-box restatements in the after-author support stylesheet - #3570
Conversation
…class
Core's group stylesheet (.wp-block-group{box-sizing:border-box}) already sizes a
source box that carries the group class, so the source renders it border-box,
as the output does. Restating content-box for it after the author rules grew
the pet-store product cards (raw HTML with class="wp-block-group paw-card",
height:100%, padding:1.5rem) by 50px past their columns at 390px.
…omattic/blocks-engine into HEAD # Conflicts: # php-transformer/tests/unit/content-box-support-sheet.php
|
Context for this merge The first commit came from the Homeboy cook. Its first attempt ended
Pixel difference against the source on a pet-store block theme. The host keeps the theme stylesheet and installs only the support sheets.
Before merge, the following passed: all 627 How AI was used: Claude (via the Pi coding agent in a Roadie session) wrote the guard and its test, measured the theme and merged; the cook (Homeboy, Pi) wrote the first commit. Reviewed by a human. |
Summary
Fix #3565 in
php-transformer/. Read the issue and its acceptance comment first.What changed
php-transformer/composer.jsonin the delivered candidate.php-transformer/src/HtmlToBlocks/HtmlCompilation.phpin the delivered candidate.php-transformer/src/HtmlToBlocks/Style/AuthorStyleRuleProjector.phpin the delivered candidate.php-transformer/src/HtmlToBlocks/Style/AuthorStylesheetProjectionContext.phpin the delivered candidate.php-transformer/src/HtmlToBlocks/Style/AuthorStylesheetProjector.phpin the delivered candidate.php-transformer/src/HtmlToBlocks/Style/CascadeLayer.phpin the delivered candidate.php-transformer/src/HtmlToBlocks/Style/ContentBoxRestatements.phpin the delivered candidate.php-transformer/tests/unit/artifact-author-stylesheet-projection.phpin the delivered candidate.php-transformer/tests/unit/content-box-min-max-size.phpin the delivered candidate.php-transformer/tests/unit/content-box-support-sheet.phpin the delivered candidate.php-transformer/tests/unit/css-comment-in-declarations.phpin the delivered candidate.php-transformer/tests/unit/html-transformer-session-state.phpin the delivered candidate.Verification
faeec3f. Basetrunk@e392171unchanged.Cook run
08ef6e37adcf947acf66a95c88f3eac3e62a2803, fingerprint1c44a5c4fc036f0b7cb6ab5c9d100a66b8819a817001f75cd02941c0b50d841fAI assistance
Tool: Implementation: Homeboy (pi); review form: Homeboy (pi) · Model: Implementation: claude-opus-5-5 (tier roadie/anthropic-claude-opus-5-5); review form: claude-opus-5-5 (tier roadie/anthropic-claude-opus-5-5) · Used for: Implementation: Homeboy (pi) authored the delivered candidate changes and deterministic verification evidence. Review form: Homeboy (pi) reviewed the validated candidate and supplied the reviewer metadata.
Closes #3565