comparison src/styleengine.hh @ 895:816f3c5f9286

remove unused order_count parameter It seems that in dillo-0.8.0-css-3 it was used to make sure that later definitions of the same CSS property have more weight than previous ones. If for example a first stylesheet sets background-color to black, and a second stylesheet sets it to green, green should win. But as we currently parese everything in order (throughing away all parsed CSS data when a new CSS stylesheet has arrived), we don't need to remember the original ordering of stylesheets.
author Johannes Hofmann <>
date Mon, 02 Feb 2009 07:40:23 +0100
parents df8153796f48
children f44e88b06200
equal deleted inserted replaced
894:660448deb31a 895:816f3c5f9286
43 return stack->getRef (n->depth - 1); 43 return stack->getRef (n->depth - 1);
44 else 44 else
45 return NULL; 45 return NULL;
46 }; 46 };
47 47
48 void parse (const char *buf, int buflen, int order_count, CssOrigin origin); 48 void parse (const char *buf, int buflen, CssOrigin origin);
49 void startElement (int tag); 49 void startElement (int tag);
50 void setId (const char *id); 50 void setId (const char *id);
51 void setClass (const char *klass); 51 void setClass (const char *klass);
52 void setStyle (const char *style); 52 void setStyle (const char *style);
53 void endElement (int tag); 53 void endElement (int tag);