aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-09-06 12:19:55 +0200
committerSebastian Geerken <devnull@localhost>2013-09-06 12:19:55 +0200
commit8949f7c58340b0c468fde3ea4bc1b23352f55b88 (patch)
tree0124c2d94106cbb3c0fb44f9a42e221575d955fd /src/css.hh
parenta8d6e82558673ee440dcdeb82a72166732f12af1 (diff)
parent5768a90c1502da9324fe35246bf1ed743a17c68d (diff)
Merge with main repo.
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/css.hh b/src/css.hh
index e81fde62..4ad75f73 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -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 + 9; // \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, mark,
+ * nav, section, aside, figure, figcaption.
+ */
RuleList elementTable[ntags], anyTable;
RuleMap idTable, classTable;