From 8615964c3fd381ef6d9a20487b9120135182dfd1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 29 Oct 2022 19:27:27 +0100 Subject: html: layout: Initial implementation of display: flex --- content/handlers/css/utils.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'content/handlers/css') diff --git a/content/handlers/css/utils.h b/content/handlers/css/utils.h index 0b053745d..ee241e2cc 100644 --- a/content/handlers/css/utils.h +++ b/content/handlers/css/utils.h @@ -36,11 +36,9 @@ static inline uint8_t ns_computed_display( uint8_t value = css_computed_display(style, root); switch (value) { - case CSS_DISPLAY_FLEX: case CSS_DISPLAY_GRID: return CSS_DISPLAY_BLOCK; - case CSS_DISPLAY_INLINE_FLEX: case CSS_DISPLAY_INLINE_GRID: return CSS_DISPLAY_INLINE_BLOCK; @@ -61,11 +59,9 @@ static inline uint8_t ns_computed_display_static( uint8_t value = css_computed_display_static(style); switch (value) { - case CSS_DISPLAY_FLEX: case CSS_DISPLAY_GRID: return CSS_DISPLAY_BLOCK; - case CSS_DISPLAY_INLINE_FLEX: case CSS_DISPLAY_INLINE_GRID: return CSS_DISPLAY_INLINE_BLOCK; @@ -76,7 +72,6 @@ static inline uint8_t ns_computed_display_static( return value; } - static inline uint8_t ns_computed_min_height( const css_computed_style *style, css_fixed *length, css_unit *unit) -- cgit v1.2.3