From 14da10c663ea0d331e4c2515cbfbcc5d45a1e706 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 7 Jun 2010 21:07:13 +0000 Subject: [PATCH] Update boolean attribute list from HTML5 draft --- includes/Html.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/Html.php b/includes/Html.php index ccd1787620..9d017c7503 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -61,10 +61,9 @@ class Html { ); # Boolean attributes, which may have the value omitted entirely. Manually - # collected from the HTML5 spec as of 2009-08-10. + # collected from the HTML5 spec as of 2010-06-07. private static $boolAttribs = array( 'async', - 'autobuffer', 'autofocus', 'autoplay', 'checked', @@ -74,10 +73,12 @@ class Html { 'formnovalidate', 'hidden', 'ismap', + 'itemscope', 'loop', 'multiple', 'novalidate', 'open', + 'pubdate', 'readonly', 'required', 'reversed', -- 2.20.1