Gitweb links:

...log 
http://git.netsurf-browser.org/libcss.git/shortlog/0c17636d54d619e0b3964096842fe43d90c94369
...commit 
http://git.netsurf-browser.org/libcss.git/commit/0c17636d54d619e0b3964096842fe43d90c94369
...tree 
http://git.netsurf-browser.org/libcss.git/tree/0c17636d54d619e0b3964096842fe43d90c94369

The branch, lcneves/flexbox has been updated
       via  0c17636d54d619e0b3964096842fe43d90c94369 (commit)
      from  797c8d8a0ad725e51efa8700a47b3638de3da9f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libcss.git/commit/?id=0c17636d54d619e0b3964096842fe43d90c94369
commit 0c17636d54d619e0b3964096842fe43d90c94369
Author: Lucas Neves <[email protected]>
Commit: Lucas Neves <[email protected]>

    Select: Fixes default value of min-width and min-height when display is not 
[inline-]flex.

diff --git a/src/select/computed.c b/src/select/computed.c
index 991c41d..7a6953c 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -756,6 +756,8 @@ uint8_t css_computed_min_height(const css_computed_style 
*style,
                        min_height == CSS_MIN_HEIGHT_AUTO)
         {
                min_height = CSS_MIN_HEIGHT_SET;
+               *length = 0;
+               *unit = CSS_UNIT_PX;
        }
 
        return min_height;
@@ -771,6 +773,8 @@ uint8_t css_computed_min_width(const css_computed_style 
*style,
                        min_width == CSS_MIN_WIDTH_AUTO)
         {
                min_width = CSS_MIN_WIDTH_SET;
+               *length = 0;
+               *unit = CSS_UNIT_PX;
        }
 
        return min_width;


-----------------------------------------------------------------------

Summary of changes:
 src/select/computed.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/select/computed.c b/src/select/computed.c
index 991c41d..7a6953c 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -756,6 +756,8 @@ uint8_t css_computed_min_height(const css_computed_style 
*style,
                        min_height == CSS_MIN_HEIGHT_AUTO)
         {
                min_height = CSS_MIN_HEIGHT_SET;
+               *length = 0;
+               *unit = CSS_UNIT_PX;
        }
 
        return min_height;
@@ -771,6 +773,8 @@ uint8_t css_computed_min_width(const css_computed_style 
*style,
                        min_width == CSS_MIN_WIDTH_AUTO)
         {
                min_width = CSS_MIN_WIDTH_SET;
+               *length = 0;
+               *unit = CSS_UNIT_PX;
        }
 
        return min_width;


-- 
Cascading Style Sheets library

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to