Mention attr with default value removal in README; add <style> default attr values
This commit is contained in:
parent
27af2368ff
commit
b4f8a041b2
4 changed files with 10 additions and 8 deletions
|
|
@ -981,7 +981,8 @@
|
|||
"style": {
|
||||
"boolean": false,
|
||||
"redundant_if_empty": true,
|
||||
"collapse_and_trim": false
|
||||
"collapse_and_trim": false,
|
||||
"default_value": "all"
|
||||
}
|
||||
},
|
||||
"mediagroup": {
|
||||
|
|
@ -1675,7 +1676,8 @@
|
|||
"style": {
|
||||
"boolean": false,
|
||||
"redundant_if_empty": true,
|
||||
"collapse_and_trim": false
|
||||
"collapse_and_trim": false,
|
||||
"default_value": "text/css"
|
||||
}
|
||||
},
|
||||
"typeof": {
|
||||
|
|
|
|||
|
|
@ -71,6 +71,10 @@ const defaultAttributeValues = {
|
|||
tags: ['iframe', 'img'],
|
||||
defaultValue: 'eager',
|
||||
}],
|
||||
'media': [{
|
||||
tags: ['style'],
|
||||
defaultValue: 'all',
|
||||
}],
|
||||
'method': [{
|
||||
tags: ['form'],
|
||||
defaultValue: 'get',
|
||||
|
|
@ -99,7 +103,7 @@ const defaultAttributeValues = {
|
|||
tags: ['input'],
|
||||
defaultValue: 'text',
|
||||
}, {
|
||||
tags: ['link'],
|
||||
tags: ['link', 'style'],
|
||||
defaultValue: 'text/css',
|
||||
}],
|
||||
'width': [{
|
||||
|
|
|
|||
Reference in a new issue