aboutsummaryrefslogtreecommitdiffstats
path: root/include/litehtml/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litehtml/grid.h')
-rw-r--r--include/litehtml/grid.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/litehtml/grid.h b/include/litehtml/grid.h
index f42273e6..d9ed789b 100644
--- a/include/litehtml/grid.h
+++ b/include/litehtml/grid.h
@@ -7,6 +7,13 @@
namespace litehtml
{
+ enum grid_auto_flow
+ {
+ grid_auto_flow_row = 0x1,
+ grid_auto_flow_column = 0x2,
+ grid_auto_flow_dense = 0x10
+ };
+
// <grid-line> =
// auto |
// <custom-ident> |
@@ -267,6 +274,12 @@ namespace litehtml
bool from_tokens(const css_token_vector& tokens);
};
+
+ struct css_grid_auto_row_columns
+ {
+ std::vector<css_grid_template::track_size> value;
+ bool from_tokens(const css_token_vector& tokens);
+ };
}
#endif //LITEHTML_GRID_H