Truly independent web browser
LibWeb: Keep grid items in values only
Aliaksandr Kalenikbee2b3bc0522
diff --git a/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rs b/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rsindex 8d7157eadec..1b2b13cc620 100644--- a/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rs+++ b/Libraries/LibWeb/Rust/src/layout/grid_formatting_context.rs@@ -1920,13 +1920,12 @@ impl<'pass> GridFormattingContext<'pass> {child_grid_style.names.raws(),),});- let record = self.run.records.create_used_values(+ let cells = self.run.records.keep_child_for_its_run(&self.run.callbacks,child,ContainingBlockConstraints::default(),);- self.cells_of_items- .insert(child, Cell::new(used_values::RootInputCells::capture(record)));+ self.cells_of_items.insert(child, Cell::new(cells));nodes.push(child);}}