mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Merge pull request #6584 from cakephp/2.6-html-attributes
2.6 Add missing HTML minimize attributes
This commit is contained in:
commit
d18748a50d
1 changed files with 42 additions and 3 deletions
|
@ -145,9 +145,48 @@ class Helper extends Object {
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $_minimizedAttributes = array(
|
protected $_minimizedAttributes = array(
|
||||||
'compact', 'checked', 'declare', 'readonly', 'disabled', 'selected',
|
'allowfullscreen',
|
||||||
'defer', 'ismap', 'nohref', 'noshade', 'nowrap', 'multiple', 'noresize',
|
'async',
|
||||||
'autoplay', 'controls', 'loop', 'muted', 'required', 'novalidate', 'formnovalidate'
|
'autofocus',
|
||||||
|
'autoplay',
|
||||||
|
'checked',
|
||||||
|
'compact',
|
||||||
|
'controls',
|
||||||
|
'declare',
|
||||||
|
'default',
|
||||||
|
'defaultchecked',
|
||||||
|
'defaultmuted',
|
||||||
|
'defaultselected',
|
||||||
|
'defer',
|
||||||
|
'disabled',
|
||||||
|
'enabled',
|
||||||
|
'formnovalidate',
|
||||||
|
'hidden',
|
||||||
|
'indeterminate',
|
||||||
|
'inert',
|
||||||
|
'ismap',
|
||||||
|
'itemscope',
|
||||||
|
'loop',
|
||||||
|
'multiple',
|
||||||
|
'muted',
|
||||||
|
'nohref',
|
||||||
|
'noresize',
|
||||||
|
'noshade',
|
||||||
|
'novalidate',
|
||||||
|
'nowrap',
|
||||||
|
'open',
|
||||||
|
'pauseonexit',
|
||||||
|
'readonly',
|
||||||
|
'required',
|
||||||
|
'reversed',
|
||||||
|
'scoped',
|
||||||
|
'seamless',
|
||||||
|
'selected',
|
||||||
|
'sortable',
|
||||||
|
'spellcheck',
|
||||||
|
'truespeed',
|
||||||
|
'typemustmatch',
|
||||||
|
'visible'
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue