diff options
author | corvid <corvid@dillo.org> | 2013-09-05 19:19:28 +0000 |
---|---|---|
committer | corvid <corvid@dillo.org> | 2013-09-05 19:19:28 +0000 |
commit | 249ddc27f05bc334bc554a692e6b2d541053afb3 (patch) | |
tree | 6d8bc879e05f46482957a1819eee312a985cafcf /src/css.hh | |
parent | 75ad99f0389fb9f7434cfbefa205b1636d4ee1f1 (diff) |
some html5 structural elements
The spec also has some rules about how, for instance, a footer can't go inside
a header, and that sort of thing, but that can wait until we have something
more sophisticated than a collection of IN_* flags.
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -451,7 +451,11 @@ class CssStyleSheet { <lout::object::ConstString, RuleList > (true, true, 256) {}; }; - static const int ntags = 90; // \todo replace 90 + static const int ntags = 90 + 8; // \todo don't hardcode + /* 90 is the full number of html4 elements, including those which we have + * implemented. From html 5, let's add: article, header, footer, nav, + * section, aside, figure, figcaption. + */ RuleList elementTable[ntags], anyTable; RuleMap idTable, classTable; |