aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorcorvid <corvid@dillo.org>2014-02-15 18:41:12 +0000
committercorvid <corvid@dillo.org>2014-02-15 18:41:12 +0000
commit8711f43231e783f0c71a0d3f903c747188bfa0ae (patch)
treebdaa9609226c950e7d4416496d1d84586c9b618f /src/css.hh
parent2908fe39a624bce28f25c0212a0b9eea08914119 (diff)
rudimentary support for html5 video,audio,source,embed
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 6088e2df..782b2c7b 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -464,10 +464,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;