Port box construction to libdom
svn path=/trunk/netsurf/; revision=13608
This commit is contained in:
parent
72baec3aec
commit
682eba9a56
|
@ -337,7 +337,7 @@ bool box_handle_scrollbars(struct content *c, struct box *box,
|
|||
bool box_vscrollbar_present(const struct box *box);
|
||||
bool box_hscrollbar_present(const struct box *box);
|
||||
|
||||
bool xml_to_box(xmlNode *n, struct html_content *c,
|
||||
bool xml_to_box(dom_node *n, struct html_content *c,
|
||||
box_construct_complete_cb cb);
|
||||
|
||||
bool box_normalise_block(struct box *block, struct html_content *c);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -25,19 +25,6 @@ struct box;
|
|||
struct form;
|
||||
struct form_control;
|
||||
|
||||
/**
|
||||
* Private data attached to each DOM node
|
||||
*/
|
||||
typedef struct binding_private {
|
||||
/* All the following only apply to ELEMENT nodes */
|
||||
|
||||
struct box *box; /**< Root box if ELEMENT node, or NULL */
|
||||
lwc_string *localname; /**< Local name of node */
|
||||
lwc_string *id; /**< Value of id attribute, or NULL */
|
||||
lwc_string **classes; /**< Pre-parsed class names, or NULL */
|
||||
uint32_t nclasses; /**< Number of class names */
|
||||
} binding_private;
|
||||
|
||||
typedef enum binding_error {
|
||||
BINDING_OK,
|
||||
BINDING_NOMEM,
|
||||
|
|
Loading…
Reference in New Issue