Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/blitz-dom/src/layout/construct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ fn classify_flow_children(
continue;
}

// display:none children generate no boxes and cast no vote
if matches!(display.outside(), DisplayOutside::None) {
continue;
}

let is_in_flow = matches!(
position,
PositionProperty::Static | PositionProperty::Relative | PositionProperty::Sticky
Expand Down
Loading