Support safe column subgrid propagation

This commit is contained in:
SGavrl committed 2026-07-30 21:15:28 +00:00
1 parent 661212e6aa
commit 90c64b2c31
4 files changed
+566 -1

No files matched your search

+4
View File
@@ -365,6 +365,10 @@ pub struct LayoutStyle {
// resolved to line placements on children in a later pass.
pub grid_template_columns: Vec<taffy::GridTemplateComponent<String>>,
pub grid_template_rows: Vec<taffy::GridTemplateComponent<String>>,
/// `grid-template-columns: subgrid`. Taffy has no native subgrid track
/// component, so `dom` resolves the safe full-span column subset after
/// measuring the non-subgridded ancestor's intrinsic track contributions.
pub grid_template_columns_subgrid: bool,
pub grid_auto_flow: Option<taffy::GridAutoFlow>,
pub grid_areas: Option<Vec<Vec<String>>>,
pub grid_area_name: Option<String>,