summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAsmir Mustafic <[email protected]>2015-05-09 10:30:56 +0200
committerAsmir Mustafic <[email protected]>2015-05-09 10:30:56 +0200
commite36b070ebe68235d489a2b91d1299c8df6be7386 (patch)
treecf191961112e087cc5314b5618a75af20fa2cb81 /src
parent93df3656bbb4b7718a177c257fa44f8c981c4c5a (diff)
Addex exhaustive list of non boolean html attributes
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Serializer/OutputRules.php72
1 files changed, 71 insertions, 1 deletions
diff --git a/src/HTML5/Serializer/OutputRules.php b/src/HTML5/Serializer/OutputRules.php
index 7a51016..4ad74f6 100644
--- a/src/HTML5/Serializer/OutputRules.php
+++ b/src/HTML5/Serializer/OutputRules.php
@@ -77,7 +77,77 @@ class OutputRules implements \Masterminds\HTML5\Serializer\RulesInterface
*/
array(
'nodeNamespace' => 'http://www.w3.org/1999/xhtml',
- 'attrName' => array('alt', 'title', 'value', 'type', 'href', 'id', 'style'),
+ 'attrName' => array('href',
+ 'hreflang',
+ 'http-equiv',
+ 'icon',
+ 'id',
+ 'keytype',
+ 'kind',
+ 'label',
+ 'lang',
+ 'language',
+ 'list',
+ 'maxlength',
+ 'media',
+ 'method',
+ 'name',
+ 'placeholder',
+ 'rel',
+ 'rows',
+ 'rowspan',
+ 'sandbox',
+ 'spellcheck',
+ 'scope',
+ 'seamless',
+ 'shape',
+ 'size',
+ 'sizes',
+ 'span',
+ 'src',
+ 'srcdoc',
+ 'srclang',
+ 'srcset',
+ 'start',
+ 'step',
+ 'style',
+ 'summary',
+ 'tabindex',
+ 'target',
+ 'title',
+ 'type',
+ 'value',
+ 'width',
+ 'border',
+ 'charset',
+ 'cite',
+ 'class',
+ 'code',
+ 'codebase',
+ 'color',
+ 'cols',
+ 'colspan',
+ 'content',
+ 'coords',
+ 'data',
+ 'datetime',
+ 'default',
+ 'dir',
+ 'dirname',
+ 'enctype',
+ 'for',
+ 'form',
+ 'formaction',
+ 'headers',
+ 'height',
+ 'accept',
+ 'accept-charset',
+ 'accesskey',
+ 'action',
+ 'align',
+ 'alt',
+ 'bgcolor',
+ ),
),
array(
'nodeNamespace' => 'http://www.w3.org/1999/xhtml',