Go to the documentation of this file.
24 #ifndef __CR_SEL_ENG_H__
25 #define __CR_SEL_ENG_H__
33 #include <libxml/tree.h>
66 guchar *a_pseudo_class_sel_name,
71 guchar *a_pseudo_class_sel_name,
77 guchar *a_pseudo_class_sel_name,
103 gboolean a_set_props_to_initial_values) ;
enum CRStatus cr_sel_eng_get_matched_style(CRSelEng *a_this, CRCascade *a_cascade, xmlNode *a_node, CRStyle *a_parent_style, CRStyle **a_style, gboolean a_set_props_to_initial_values)
typedefG_BEGIN_DECLS struct _CRPropList CRPropList
An abstraction of a css stylesheet as defined by the css2 spec in chapter 4.
enum CRStatus cr_sel_eng_unregister_pseudo_class_sel_handler(CRSelEng *a_this, guchar *a_pseudo_class_sel_name, enum CRPseudoType a_pseudo_class_type)
enum CRStatus cr_sel_eng_register_pseudo_class_sel_handler(CRSelEng *a_this, guchar *a_pseudo_class_sel_name, enum CRPseudoType a_pseudo_class_type, CRPseudoClassSelectorHandler a_handler)
cr_sel_eng_register_pseudo_class_sel_handler: @a_this: the current instance of CRSelEng @a_pseudo_cla...
enum CRStatus cr_sel_eng_get_matched_rulesets(CRSelEng *a_this, CRStyleSheet *a_sheet, xmlNode *a_node, CRStatement ***a_rulesets, gulong *a_len)
cr_sel_eng_get_matched_rulesets: @a_this: the current instance of the selection engine.
void cr_sel_eng_destroy(CRSelEng *a_this)
cr_sel_eng_destroy: @a_this: the current instance of the selection engine.
enum CRStatus cr_sel_eng_matches_node(CRSelEng *a_this, CRSimpleSel *a_sel, xmlNode *a_node, gboolean *a_result)
cr_sel_eng_matches_node: @a_this: the selection engine.
enum CRStatus cr_sel_eng_get_pseudo_class_selector_handler(CRSelEng *a_this, guchar *a_pseudo_class_sel_name, enum CRPseudoType a_pseudo_class_type, CRPseudoClassSelectorHandler *a_handler)
CRSelEng * cr_sel_eng_new(void)
cr_sel_eng_new: Creates a new instance of CRSelEng.
The abstraction of css statement as defined in the chapter 4 and appendix D.1 of the css2 spec.
enum CRStatus cr_sel_eng_get_matched_properties_from_cascade(CRSelEng *a_this, CRCascade *a_cascade, xmlNode *a_node, CRPropList **a_props)
The abstraction of a css2 simple selection list as defined by the right part of the "selector" produc...
gboolean(* CRPseudoClassSelectorHandler)(CRSelEng *a_this, CRAdditionalSel *a_add_sel, xmlNode *a_node)
The Selection engine class.
typedefG_BEGIN_DECLS struct _CRStyle CRStyle
CRStatus
The status type returned by the methods of the croco library.
typedefG_BEGIN_DECLS struct _CRSelEng CRSelEng
enum CRStatus cr_sel_eng_unregister_all_pseudo_class_sel_handlers(CRSelEng *a_this)
cr_sel_eng_unregister_all_pseudo_class_sel_handlers: @a_this: the current instance of CRSelEng .