diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-01-10 15:59:06 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-01-10 15:59:06 +0000 |
commit | 4600e9ac013226a63e0dd68a47cde9b75cd3c452 (patch) | |
tree | 698a6850aefa9b831b2951cc6f00d6e65821e69b /src/select/properties | |
parent | 7a74cd0bca6c300b9cc3cd2880c8b8822307b293 (diff) | |
download | libcss-4600e9ac013226a63e0dd68a47cde9b75cd3c452.tar.gz libcss-4600e9ac013226a63e0dd68a47cde9b75cd3c452.tar.bz2 |
Remove 9.7 handling from get_display. Delete get_display_static. Remove duplication in css_computed_display.
Diffstat (limited to 'src/select/properties')
-rw-r--r-- | src/select/properties/display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/display.c b/src/select/properties/display.c index 02f5e1e..e5e7711 100644 --- a/src/select/properties/display.c +++ b/src/select/properties/display.c @@ -97,10 +97,10 @@ css_error css__compose_display(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { - uint8_t type = get_display_static(child); + uint8_t type = get_display(child); if (type == CSS_DISPLAY_INHERIT) { - type = get_display_static(parent); + type = get_display(parent); } return set_display(result, type); |