diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-29 19:03:43 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-29 19:03:43 +0100 |
commit | 2ca059af0e113cf167a848a9e43fa149c2c9f7bd (patch) | |
tree | f9fbb120defa9293c6494f2a95ad427a81e06a8d /src/css.cc | |
parent | faa12b128ac5e22aed81a1ca692ddc504b31bd10 (diff) |
pass Layout to StyleEngine
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,7 +13,7 @@ #include "css.hh" /** \todo dummy only */ -CssPropertyList *CssPropertyList::parse (const char *buf, int buflen) { +CssPropertyList *CssPropertyList::parse (const char *buf) { return NULL; } @@ -35,13 +35,13 @@ void CssPropertyList::apply (CssPropertyList *props) { } /** \todo dummy only */ -CssSelector *CssSelector::parse (const char *buf, int buflen) { +CssSelector *CssSelector::parse (const char *buf) { return NULL; } /** \todo dummy only */ bool CssSelector::match (Doctree *docTree) { - return tagIndex < 0 || tagIndex == docTree->top ()->tagIndex; + return tag < 0 || tag == docTree->top ()->tag; } void CssRule::apply (CssPropertyList *props, Doctree *docTree) { |