ELinks 0.18.0
Functions | Variables
renderer2.c File Reference
#include <dom/dom.h>
#include <dom/bindings/hubbub/parser.h>
#include <stdio.h>
#include "elinks.h"
#include "cache/cache.h"
#include "document/document.h"
#include "document/renderer.h"
#include "document/html/parser/parse.h"
#include "document/html/renderer.h"
#include "document/libdom/corestrings.h"
#include "document/libdom/doc.h"
#include "document/libdom/mapa.h"
#include "document/libdom/renderer2.h"
#include "document/view.h"
#include "js/libdom/parse.h"
#include "util/hash.h"
#include "util/string.h"
Include dependency graph for renderer2.c:

Functions

static bool dump_dom_element_closing (struct string *buf, dom_node *node)
 
static bool dump_node_element_attribute (struct string *buf, dom_node *node)
 
static bool dump_dom_element (void *mapa, void *mapa_rev, struct string *buf, dom_node *node, int depth)
 
static bool walk_tree (void *mapa, void *mapa_rev, struct string *buf, dom_node *node, bool start, int depth)
 
void render_xhtml_document (struct cache_entry *cached, struct document *document, struct string *buffer)
 
void free_libdom (void)
 
void debug_dump_xhtml (void *d)
 
void dump_xhtml (struct cache_entry *cached, struct document *document, int parse)
 
static bool fire_dom_event (dom_event *event, dom_node *target)
 
int fire_generic_dom_event (void *t, void *tar, int bubbles, int cancelable)
 
int fire_onload (void *doc)
 

Variables

static int libdom_initialised = 0
 
static int in_script = 0
 

Function Documentation

◆ debug_dump_xhtml()

void debug_dump_xhtml ( void *  d)

◆ dump_dom_element()

static bool dump_dom_element ( void *  mapa,
void *  mapa_rev,
struct string *  buf,
dom_node *  node,
int  depth 
)
static

◆ dump_dom_element_closing()

static bool dump_dom_element_closing ( struct string *  buf,
dom_node *  node 
)
static

◆ dump_node_element_attribute()

static bool dump_node_element_attribute ( struct string *  buf,
dom_node *  node 
)
static

◆ dump_xhtml()

void dump_xhtml ( struct cache_entry *  cached,
struct document *  document,
int  parse 
)

◆ fire_dom_event()

static bool fire_dom_event ( dom_event *  event,
dom_node *  target 
)
static

◆ fire_generic_dom_event()

int fire_generic_dom_event ( void *  t,
void *  tar,
int  bubbles,
int  cancelable 
)

◆ fire_onload()

int fire_onload ( void *  doc)

◆ free_libdom()

void free_libdom ( void  )

◆ render_xhtml_document()

void render_xhtml_document ( struct cache_entry *  cached,
struct document *  document,
struct string *  buffer 
)

◆ walk_tree()

static bool walk_tree ( void *  mapa,
void *  mapa_rev,
struct string *  buf,
dom_node *  node,
bool  start,
int  depth 
)
static

Variable Documentation

◆ in_script

int in_script = 0
static

◆ libdom_initialised

int libdom_initialised = 0
static