repr-css.cpp revision 5834db43b21308e958a2fdbbec082b1a4f019a38
/*
* bulia byak <buliabyak@users.sf.net>
*/
#define SP_REPR_CSS_C
#include "xml/simple-node.h"
#include "style.h"
#include "libcroco/cr-sel-eng.h"
public:
protected:
};
{
return new SPCSSAttrImpl();
}
void
{
}
{
return css;
}
static void
{
// read the ancestors from root down, using head recursion, so that children override parents
if (parent) {
}
}
{
return css;
}
static void
{
}
char const *
{
? defval
: attr );
}
bool
{
}
void
{
}
void
{
}
double
{
}
gchar *
{
{
continue;
}
// we only quote font-family/font-specification, as SPStyle does
g_free (t);
if (val_quoted) {
g_free (val_quoted);
}
} else {
}
}
}
}
void
{
}
void
{
{
}
}
void
{
}
static void
{
}
/**
* \pre decl_list != NULL
*/
static void
{
// read the decls from start to end, using tail recursion, so that latter declarations override
// (Ref: http://www.w3.org/TR/REC-CSS2/cascade.html#cascading-order point 4.)
// because sp_repr_css_merge_from_decl sets properties unconditionally
}
}
void
{
if (p != NULL) {
CRDeclaration *const decl_list
if (decl_list) {
}
}
}
void
{
}
void
{
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :