提交 4a7291e0 编写于 作者: D David Storey

Add additional set for <form method> inc. dialog value

…and capitalise GET / POST. Old get/post set is still needed for
formmethod on input and button.
上级 4a68465f
......@@ -122,9 +122,9 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
legend: none,
label: ['form', 'for'],
input: ['accept', 'alt', 'autocomplete:o', 'autofocus:v', 'checked:v', 'dirname', 'disabled:v', 'form', 'formaction', 'formenctype:et',
'formmethod:m', 'formnovalidate:v', 'formtarget', 'height', 'inputmode:im', 'list', 'max', 'maxlength', 'min', 'minlength', 'multiple:v', 'name',
'formmethod:fm', 'formnovalidate:v', 'formtarget', 'height', 'inputmode:im', 'list', 'max', 'maxlength', 'min', 'minlength', 'multiple:v', 'name',
'pattern', 'placeholder', 'readonly:v', 'required:v', 'size', 'src', 'step', 'type:t', 'value', 'width'],
button: ['autofocus:v', 'disabled:v', 'form', 'formaction', 'formenctype:et', 'formmethod:m', 'formnovalidate:v', 'formtarget', 'name', 'type:bt', 'value'],
button: ['autofocus:v', 'disabled:v', 'form', 'formaction', 'formenctype:et', 'formmethod:fm', 'formnovalidate:v', 'formtarget', 'name', 'type:bt', 'value'],
select: ['autocomplete:o', 'autofocus:v', 'disabled:v', 'form', 'multiple:v', 'name', 'required:v', 'size'],
datalist: none,
optgroup: ['disabled:v', 'label'],
......@@ -158,7 +158,8 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
b: ['true', 'false'],
u: ['true', 'false', 'undefined'],
d: ['ltr', 'rtl', 'auto'],
m: ['get', 'post'],
m: ['GET', 'POST', 'dialog'],
fm: ['GET', 'POST'],
o: ['on', 'off'],
t: ['hidden', 'text', 'search', 'tel', 'url', 'email', 'password', 'datetime', 'date', 'month', 'week', 'time', 'datetime-local', 'number', 'range', 'color', 'checkbox', 'radio', 'file', 'submit', 'image', 'reset', 'button'],
im: ['verbatim', 'latin', 'latin-name', 'latin-prose', 'full-width-latin', 'kana', 'kana-name', 'katakana', 'numeric', 'tel', 'email', 'url'],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册