From: Aryeh Gregor Date: Mon, 7 Jun 2010 21:07:13 +0000 (+0000) Subject: Update boolean attribute list from HTML5 draft X-Git-Tag: 1.31.0-rc.0~36594 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=14da10c663ea0d331e4c2515cbfbcc5d45a1e706;p=lhc%2Fweb%2Fwiklou.git Update boolean attribute list from HTML5 draft --- 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',