add elements

This commit is contained in:
2026-04-03 01:26:54 +03:00
parent f0a1835fa2
commit 7684a2a871
29 changed files with 3600 additions and 177 deletions

View File

@@ -326,6 +326,7 @@ mod tests {
justify: "space-between".to_string(),
style: ContainerStyle::default(),
children: vec![],
break_inside: "auto".to_string(),
};
let style = container_to_style(&el, None);
assert_eq!(style.flex_direction, FlexDirection::Row);
@@ -346,6 +347,7 @@ mod tests {
justify: "start".to_string(),
style: ContainerStyle::default(),
children: vec![],
break_inside: "auto".to_string(),
};
let style = container_to_style(&el, None);
assert_eq!(style.position, Position::Absolute);