Skip to content

Fix absolute containing block regression fixture - #120

Merged
SpinyOwl merged 1 commit into
developfrom
agent/fix-absolute-layout-test
Aug 19, 2026
Merged

Fix absolute containing block regression fixture#120
SpinyOwl merged 1 commit into
developfrom
agent/fix-absolute-layout-test

Conversation

@SpinyOwl

Copy link
Copy Markdown
Owner

What changed

  • initialize top, right, bottom, and left to auto in AbsoluteContainingBlockLayoutTest's manual ResolvedStyle fixture

Why

The test bypasses the style engine and constructs ResolvedStyle directly. BlockLayout.layoutRelativeBlock() assumes computed inset values are present and calls style.left().isAuto() etc. The missing inset defaults caused the NPE before the absolute-layout assertions were reached.

Validation

GitHub Actions will validate the full suite on this PR.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@SpinyOwl
SpinyOwl merged commit b50f486 into develop Aug 19, 2026
0 of 2 checks passed
@SpinyOwl
SpinyOwl deleted the agent/fix-absolute-layout-test branch August 19, 2026 21:44
@SpinyOwl SpinyOwl mentioned this pull request Aug 19, 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