diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 16:33:02 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 16:33:02 +0200 |
commit | 4b9363baacc314fb5f7fcf6b180f4d099bc8479e (patch) | |
tree | 2a610d19c301ddbb29315e0c0d0b88b41cca6fe4 /src/cssparser.hh | |
parent | b9c1cd2a051f4a04f62a910477a1ca7546a5d3d5 (diff) |
support CSS @import directive
Diffstat (limited to 'src/cssparser.hh')
-rw-r--r-- | src/cssparser.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cssparser.hh b/src/cssparser.hh index 71d83a63..8011a342 100644 --- a/src/cssparser.hh +++ b/src/cssparser.hh @@ -2,6 +2,7 @@ #define __CSSPARSER_HH__ #include "css.hh" +#include "html_common.hh" class CssParser { private: @@ -34,12 +35,14 @@ class CssParser { void parseDeclaration(CssPropertyList * props, CssPropertyList * importantProps); bool parseSimpleSelector(CssSimpleSelector *selector); + char *parseUrl(); + void parseImport(DilloHtml *html, DilloUrl *url); CssSelector *parseSelector(); void parseRuleset(); public: static CssPropertyList *parseDeclarationBlock(const char *buf, int buflen); - static void parse(CssContext *context, const char *buf, int buflen, + static void parse(DilloHtml *html, DilloUrl *url, CssContext *context, const char *buf, int buflen, CssOrigin origin); static const char *propertyNameString(CssPropertyName name); }; |