Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/02ca4d934d995ffee412a...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/02ca4d934d995ffee412ace...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/02ca4d934d995ffee412ace37...
The branch, tlsa/libcss-units has been updated
via 02ca4d934d995ffee412ace37dc7db11afb01206 (commit)
from fe0e7e9e9bf288a1051aeb1e808c728fbdeacf14 (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/netsurf.git/commit/?id=02ca4d934d995ffee41...
commit 02ca4d934d995ffee412ace37dc7db11afb01206
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
f form.c
diff --git a/render/form.c b/render/form.c
index 904272d..4320025 100644
--- a/render/form.c
+++ b/render/form.c
@@ -1133,6 +1133,7 @@ bool form_open_select_menu(void *client_data,
plot_font_style_t fstyle;
int total_height;
struct form_select_menu *menu;
+ html_content *html = (html_content *)c;
/* if the menu is opened for the first time */
@@ -1153,7 +1154,7 @@ bool form_open_select_menu(void *client_data,
box->border[LEFT].width +
box->padding[RIGHT] + box->padding[LEFT];
- font_plot_style_from_css(control->box->style,
+ font_plot_style_from_css(&html->len_ctx, control->box->style,
&fstyle);
menu->f_size = fstyle.size;
-----------------------------------------------------------------------
Summary of changes:
render/form.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/render/form.c b/render/form.c
index 904272d..4320025 100644
--- a/render/form.c
+++ b/render/form.c
@@ -1133,6 +1133,7 @@ bool form_open_select_menu(void *client_data,
plot_font_style_t fstyle;
int total_height;
struct form_select_menu *menu;
+ html_content *html = (html_content *)c;
/* if the menu is opened for the first time */
@@ -1153,7 +1154,7 @@ bool form_open_select_menu(void *client_data,
box->border[LEFT].width +
box->padding[RIGHT] + box->padding[LEFT];
- font_plot_style_from_css(control->box->style,
+ font_plot_style_from_css(&html->len_ctx, control->box->style,
&fstyle);
menu->f_size = fstyle.size;
--
NetSurf Browser