Post #2392960
2026-03-27 09:37 UTC
@leaverou@front-end.social
Voted B for raw/intent-values.
Voting E for computed values/layout pass:
- div > h2 is constrained by the parent div to 100px, so it shouldn't grow larger than the containing div
- div + p however isn't constrained by the 100px div, but by their shared parent, so the p could be at most 300px.
TL;DR: div 100px, h2 200px, p 300px; but div > h2 constrained to 100px, div + p at most 300px
Replies (0)
No replies.