Index: trunk/phase3/includes/Html.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | * @since 1.16 |
50 | 50 | */ |
51 | 51 | class Html { |
52 | | - # List of void elements from HTML5, section 9.1.2 as of 2009-08-10 |
| 52 | + # List of void elements from HTML5, section 8.1.2 as of 2011-08-12 |
53 | 53 | private static $voidElements = array( |
54 | 54 | 'area', |
55 | 55 | 'base', |
— | — | @@ -64,16 +64,19 @@ |
65 | 65 | 'meta', |
66 | 66 | 'param', |
67 | 67 | 'source', |
| 68 | + 'track', |
| 69 | + 'wbr', |
68 | 70 | ); |
69 | 71 | |
70 | 72 | # Boolean attributes, which may have the value omitted entirely. Manually |
71 | | - # collected from the HTML5 spec as of 2010-06-07. |
| 73 | + # collected from the HTML5 spec as of 2011-08-12. |
72 | 74 | private static $boolAttribs = array( |
73 | 75 | 'async', |
74 | 76 | 'autofocus', |
75 | 77 | 'autoplay', |
76 | 78 | 'checked', |
77 | 79 | 'controls', |
| 80 | + 'default', |
78 | 81 | 'defer', |
79 | 82 | 'disabled', |
80 | 83 | 'formnovalidate', |
— | — | @@ -82,6 +85,7 @@ |
83 | 86 | 'itemscope', |
84 | 87 | 'loop', |
85 | 88 | 'multiple', |
| 89 | + 'muted', |
86 | 90 | 'novalidate', |
87 | 91 | 'open', |
88 | 92 | 'pubdate', |
— | — | @@ -91,6 +95,8 @@ |
92 | 96 | 'scoped', |
93 | 97 | 'seamless', |
94 | 98 | 'selected', |
| 99 | + 'truespeed', |
| 100 | + 'typemustmatch', |
95 | 101 | ); |
96 | 102 | |
97 | 103 | /** |