LibWeb: Skip empty atomic blocks during intrinsic layout - #11224
Conversation
Size empty atomic block roots directly in the parent measurement instead of constructing child formatting-context runs during min-content and max-content layout. Root sizing continues to resolve box model metrics, constraints, and automatic block size. This removes tens of thousands of empty measurement runs from StyleBench while preserving coverage through the layout cache scenario matrix.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughDuring intrinsic sizing, empty atomic block children use a direct sizing path when independent context execution is not required. The parent dimensions the child, resolves its automatic block size to zero, and returns Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to This localized layout optimization has no actionable merge-blocking risk remaining and is merge-ready after normal checks and review. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Size empty atomic block roots directly in the parent measurement instead of constructing child formatting-context runs during min-content and max-content layout. Root sizing continues to resolve box model metrics, constraints, and automatic block size.
This removes tens of thousands of empty measurement runs from StyleBench while preserving coverage through the layout cache scenario matrix.