dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7cb4d69
)
Update the Html5 void elements and boolean attributes, in accordance with the latest...
author
Derk-Jan Hartman
<hartman@users.mediawiki.org>
Fri, 12 Aug 2011 21:04:25 +0000
(21:04 +0000)
committer
Derk-Jan Hartman
<hartman@users.mediawiki.org>
Fri, 12 Aug 2011 21:04:25 +0000
(21:04 +0000)
includes/Html.php
patch
|
blob
|
history
diff --git
a/includes/Html.php
b/includes/Html.php
index
bf72dff
..
bdc4c15
100644
(file)
--- a/
includes/Html.php
+++ b/
includes/Html.php
@@
-48,7
+48,7
@@
* @since 1.16
*/
class Html {
* @since 1.16
*/
class Html {
- # List of void elements from HTML5, section
9.1.2 as of 2009-08-10
+ # List of void elements from HTML5, section
8.1.2 as of 2011-08-12
private static $voidElements = array(
'area',
'base',
private static $voidElements = array(
'area',
'base',
@@
-64,16
+64,19
@@
class Html {
'meta',
'param',
'source',
'meta',
'param',
'source',
+ 'track',
+ 'wbr',
);
# Boolean attributes, which may have the value omitted entirely. Manually
);
# Boolean attributes, which may have the value omitted entirely. Manually
- # collected from the HTML5 spec as of 201
0-06-07
.
+ # collected from the HTML5 spec as of 201
1-08-12
.
private static $boolAttribs = array(
'async',
'autofocus',
'autoplay',
'checked',
'controls',
private static $boolAttribs = array(
'async',
'autofocus',
'autoplay',
'checked',
'controls',
+ 'default',
'defer',
'disabled',
'formnovalidate',
'defer',
'disabled',
'formnovalidate',
@@
-82,6
+85,7
@@
class Html {
'itemscope',
'loop',
'multiple',
'itemscope',
'loop',
'multiple',
+ 'muted',
'novalidate',
'open',
'pubdate',
'novalidate',
'open',
'pubdate',
@@
-91,6
+95,8
@@
class Html {
'scoped',
'seamless',
'selected',
'scoped',
'seamless',
'selected',
+ 'truespeed',
+ 'typemustmatch',
);
/**
);
/**