summaryrefslogtreecommitdiff
path: root/content/handlers/html/layout_flex.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/layout_flex.c')
-rw-r--r--content/handlers/html/layout_flex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/handlers/html/layout_flex.c b/content/handlers/html/layout_flex.c
index 7c295f14f..61adcaa6c 100644
--- a/content/handlers/html/layout_flex.c
+++ b/content/handlers/html/layout_flex.c
@@ -780,6 +780,10 @@ static bool layout_flex__resolve_line(
for (size_t i = line->first; i < item_count; i++) {
struct flex_item_data *item = &ctx->item.data[i];
+ if (item->freeze) {
+ continue;
+ }
+
if (total_violation == 0 ||
(total_violation > 0 && item->min_violation) ||
(total_violation < 0 && item->max_violation)) {