summaryrefslogtreecommitdiff
path: root/render/html_internal.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-06-19 09:35:51 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-06-19 09:35:51 +0000
commit49effe103a260a60949d3c95494ae81b031799d9 (patch)
tree5a205757088c1f1d978eea067a7bf186568c582a /render/html_internal.h
parenta229a35767760c71c94ae66567f7b172c5b8c356 (diff)
downloadnetsurf-49effe103a260a60949d3c95494ae81b031799d9.tar.gz
netsurf-49effe103a260a60949d3c95494ae81b031799d9.tar.bz2
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
Diffstat (limited to 'render/html_internal.h')
-rw-r--r--render/html_internal.h10
1 files changed, 7 insertions, 3 deletions
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;