From 8711f43231e783f0c71a0d3f903c747188bfa0ae Mon Sep 17 00:00:00 2001 From: corvid Date: Sat, 15 Feb 2014 18:41:12 +0000 Subject: rudimentary support for html5 video,audio,source,embed --- src/css.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/css.hh') 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 { (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; -- cgit v1.2.3