From 4fc4bd6c3fe344c82fbb32036cc758c94f7f5e78 Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Mon, 22 May 2023 10:25:07 +0300 Subject: [PATCH] LibWeb: Set grid-auto-columns/rows in NodeWithStyle::apply_style() --- Userland/Libraries/LibWeb/Layout/Node.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index 71e93dfcac..f2528fdca2 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -643,6 +643,8 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style) do_border_style(computed_values.border_bottom(), CSS::PropertyID::BorderBottomWidth, CSS::PropertyID::BorderBottomColor, CSS::PropertyID::BorderBottomStyle); computed_values.set_content(computed_style.content()); + computed_values.set_grid_auto_columns(computed_style.grid_auto_columns()); + computed_values.set_grid_auto_rows(computed_style.grid_auto_rows()); computed_values.set_grid_template_columns(computed_style.grid_template_columns()); computed_values.set_grid_template_rows(computed_style.grid_template_rows()); computed_values.set_grid_column_end(computed_style.grid_column_end());