mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Parse grid-column-start and related CSS properties
Parse grid-column-start, end, and the equivalent for rows.
This commit is contained in:
parent
92a00648b1
commit
44d08b81b7
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/martinfalisse
Commit: 44d08b81b7
Pull-request: https://github.com/SerenityOS/serenity/pull/14996
8 changed files with 140 additions and 0 deletions
|
@ -527,6 +527,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
computed_values.set_content(computed_style.content());
|
||||
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());
|
||||
computed_values.set_grid_column_start(computed_style.grid_column_start());
|
||||
computed_values.set_grid_row_end(computed_style.grid_row_end());
|
||||
computed_values.set_grid_row_start(computed_style.grid_row_start());
|
||||
|
||||
if (auto fill = computed_style.property(CSS::PropertyID::Fill); fill->has_color())
|
||||
computed_values.set_fill(fill->to_color(*this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue