Hubbub
Functions
in_select_in_table.c File Reference
#include <assert.h>
#include <string.h>
#include "treebuilder/modes.h"
#include "treebuilder/internal.h"
#include "treebuilder/treebuilder.h"
#include "utils/utils.h"

Go to the source code of this file.

Functions

hubbub_error handle_in_select_in_table (hubbub_treebuilder *treebuilder, const hubbub_token *token)
 Handle token in "in select in table" insertion mode. More...
 

Function Documentation

hubbub_error handle_in_select_in_table ( hubbub_treebuilder treebuilder,
const hubbub_token token 
)

Handle token in "in select in table" insertion mode.

Parameters
treebuilderThe treebuilder instance
tokenThe token to handle
Returns
True to reprocess token, false otherwise
Todo:
parse error
Todo:
fragment case

Definition at line 24 of file in_select_in_table.c.

References CAPTION, hubbub_token::data, element_in_scope(), element_stack_pop_until(), element_type_from_name(), handle_in_select(), HUBBUB_OK, HUBBUB_REPROCESS, HUBBUB_TOKEN_END_TAG, HUBBUB_TOKEN_START_TAG, hubbub_tag::name, reset_insertion_mode(), SELECT, TABLE, hubbub_token::tag, TBODY, TD, TFOOT, TH, THEAD, TR, type, and hubbub_token::type.

Referenced by hubbub_treebuilder_token_handler().