summaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-02-15 23:25:11 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-02-15 23:25:11 +0100
commitff62eabe7e4045721c8a22fb0d0ab75dc85cdb06 (patch)
tree8695020bdfe82336621f63388e7e5d013e3910ef /src/css.hh
parent3522873f95597519d8bccc6e4f3e0c5c6ae7d119 (diff)
parent19bbac8e6415edd96035c4a5cd052f3701f9657a (diff)
merge
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/css.hh b/src/css.hh
index 938bc020..239bffaf 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -474,10 +474,11 @@ class CssStyleSheet {
<lout::object::ConstString, RuleList > (true, true, 256) {};
};
- static const int ntags = 90 + 10; // \todo don't hardcode
+ static const int ntags = 90 + 14; // \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, wbr.
+ * implemented. From html5, let's add: article, header, footer, mark,
+ * nav, section, aside, figure, figcaption, wbr, audio, video, source,
+ * embed.
*/
RuleList elementTable[ntags], anyTable;