Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

static CRSelEng* sp_repr_sel_eng (  )  [static]

Todo:
Check whether we need to register any pseudo-class handlers. libcroco has its own default handlers for first-child and lang.
We probably want handlers for link and arguably visited (though inkscape can't visit links at the time of writing). hover etc. more useful in inkview than the editor inkscape.

http://www.w3.org/TR/SVG11/styling.html#StylingWithCSS says that the following should be honoured, at least by inkview: :hover, :active, :focus, :visited, :link.

Definition at line 1209 of file style.cpp.

References cr_sel_eng_new().

Referenced by sp_style_merge_from_object_stylesheet().

{
    CRSelEng *const ret = cr_sel_eng_new();
    cr_sel_eng_set_node_iface(ret, &Inkscape::XML::croco_node_iface);

    /** \todo
     * Check whether we need to register any pseudo-class handlers.
     * libcroco has its own default handlers for first-child and lang.
     *
     * We probably want handlers for link and arguably visited (though
     * inkscape can't visit links at the time of writing).  hover etc.
     * more useful in inkview than the editor inkscape.
     *
     * http://www.w3.org/TR/SVG11/styling.html#StylingWithCSS says that
     * the following should be honoured, at least by inkview:
     * :hover, :active, :focus, :visited, :link.
     */

    g_assert(ret);
    return ret;
}


Generated by  Doxygen 1.6.0   Back to index