improve inherited width/height

This commit is contained in:
Face
2025-07-29 13:07:57 +03:00
parent 97a4d22797
commit 179d21f09a
4 changed files with 85 additions and 41 deletions

View File

@@ -159,7 +159,7 @@ func create_element_node(element: HTMLParser.HTMLElement, parser: HTMLParser) ->
# Apply flex CONTAINER properties if it's a flex container
if is_flex_container:
StyleManager.apply_flex_container_properties(final_node, styles)
StyleManager.apply_flex_container_properties(final_node, styles, element, parser)
# Apply flex ITEM properties
StyleManager.apply_flex_item_properties(final_node, styles)