From 49effe103a260a60949d3c95494ae81b031799d9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 19 Jun 2012 09:35:51 +0000 Subject: restructure javascript binding layout to be more explicit fix html content so it correctly loads all the script tags svn path=/trunk/netsurf/; revision=13968 --- render/html_internal.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'render/html_internal.h') diff --git a/render/html_internal.h b/render/html_internal.h index 3d9dea389..da3d686bd 100644 --- a/render/html_internal.h +++ b/render/html_internal.h @@ -58,6 +58,13 @@ typedef struct html_content { /** Font callback table */ const struct font_functions *font_func; + /** Number of entries in scripts */ + unsigned int scripts_count; + /** Scripts */ + struct html_script *scripts; + /** javascript context */ + struct jscontext *jscontext; + /** Number of entries in stylesheet_content. */ unsigned int stylesheet_count; /** Stylesheets. Each may be NULL. */ @@ -105,9 +112,6 @@ typedef struct html_content { /** Context for free text search, or NULL if none */ struct search_context *search; - /** javascript context */ - struct jscontext *jscontext; - } html_content; -- cgit v1.2.3