diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2022-10-29 19:27:27 +0100 |
---|---|---|
committer | Michael Drake <mdrake.unique@gmail.com> | 2022-10-29 20:30:48 +0100 |
commit | 8615964c3fd381ef6d9a20487b9120135182dfd1 (patch) | |
tree | aa84a42f4d0058a7e4e3232d7da5dc79533e52ed /content/handlers/css | |
parent | 06eee4636fd444a78ee5fad70ae24cc606a3ed93 (diff) | |
download | netsurf-8615964c3fd381ef6d9a20487b9120135182dfd1.tar.gz netsurf-8615964c3fd381ef6d9a20487b9120135182dfd1.tar.bz2 |
html: layout: Initial implementation of display: flex
Diffstat (limited to 'content/handlers/css')
-rw-r--r-- | content/handlers/css/utils.h | 5 |
1 files changed, 0 insertions, 5 deletions
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) |