Revert accidental de-Booling and add missing <input> attrs.
This commit is contained in:
parent
e2f6fd0c08
commit
f628e63e63
|
@ -100,11 +100,11 @@ declare_elements!{
|
||||||
article in [FlowContent, SectioningContent] with FlowContent;
|
article in [FlowContent, SectioningContent] with FlowContent;
|
||||||
aside in [FlowContent, SectioningContent] with FlowContent;
|
aside in [FlowContent, SectioningContent] with FlowContent;
|
||||||
audio {
|
audio {
|
||||||
autoplay: bool,
|
autoplay: Bool,
|
||||||
controls: bool,
|
controls: Bool,
|
||||||
crossorigin: CrossOrigin,
|
crossorigin: CrossOrigin,
|
||||||
loop: bool,
|
loop: Bool,
|
||||||
muted: bool,
|
muted: Bool,
|
||||||
preload: Preload,
|
preload: Preload,
|
||||||
src: Uri,
|
src: Uri,
|
||||||
} in [FlowContent, PhrasingContent, EmbeddedContent] with MediaContent;
|
} in [FlowContent, PhrasingContent, EmbeddedContent] with MediaContent;
|
||||||
|
@ -116,13 +116,13 @@ declare_elements!{
|
||||||
} in [FlowContent] with FlowContent;
|
} in [FlowContent] with FlowContent;
|
||||||
br in [FlowContent, PhrasingContent];
|
br in [FlowContent, PhrasingContent];
|
||||||
button {
|
button {
|
||||||
autofocus: bool,
|
autofocus: Bool,
|
||||||
disabled: bool,
|
disabled: Bool,
|
||||||
form: Id,
|
form: Id,
|
||||||
formaction: Uri,
|
formaction: Uri,
|
||||||
formenctype: FormEncodingType,
|
formenctype: FormEncodingType,
|
||||||
formmethod: FormMethod,
|
formmethod: FormMethod,
|
||||||
formnovalidate: bool,
|
formnovalidate: Bool,
|
||||||
formtarget: Target,
|
formtarget: Target,
|
||||||
name: Id,
|
name: Id,
|
||||||
type: ButtonType,
|
type: ButtonType,
|
||||||
|
@ -143,7 +143,7 @@ declare_elements!{
|
||||||
datetime: Datetime,
|
datetime: Datetime,
|
||||||
} in [FlowContent, PhrasingContent] with FlowContent;
|
} in [FlowContent, PhrasingContent] with FlowContent;
|
||||||
details {
|
details {
|
||||||
open: bool,
|
open: Bool,
|
||||||
} in [FlowContent, SectioningContent, InteractiveContent] with [summary] FlowContent;
|
} in [FlowContent, SectioningContent, InteractiveContent] with [summary] FlowContent;
|
||||||
dfn in [FlowContent, PhrasingContent] with PhrasingContent;
|
dfn in [FlowContent, PhrasingContent] with PhrasingContent;
|
||||||
div in [FlowContent] with FlowContent;
|
div in [FlowContent] with FlowContent;
|
||||||
|
@ -167,7 +167,7 @@ declare_elements!{
|
||||||
enctype: FormEncodingType,
|
enctype: FormEncodingType,
|
||||||
method: FormMethod,
|
method: FormMethod,
|
||||||
name: Id,
|
name: Id,
|
||||||
novalidate: bool,
|
novalidate: Bool,
|
||||||
target: Target,
|
target: Target,
|
||||||
} in [FlowContent] with FlowContent;
|
} in [FlowContent] with FlowContent;
|
||||||
h1 in [FlowContent, HeadingContent, HGroupContent] with PhrasingContent;
|
h1 in [FlowContent, HeadingContent, HGroupContent] with PhrasingContent;
|
||||||
|
@ -182,8 +182,8 @@ declare_elements!{
|
||||||
i in [FlowContent, PhrasingContent] with PhrasingContent;
|
i in [FlowContent, PhrasingContent] with PhrasingContent;
|
||||||
iframe {
|
iframe {
|
||||||
allow: FeaturePolicy,
|
allow: FeaturePolicy,
|
||||||
allowfullscreen: bool,
|
allowfullscreen: Bool,
|
||||||
allowpaymentrequest: bool,
|
allowpaymentrequest: Bool,
|
||||||
height: usize,
|
height: usize,
|
||||||
name: Id,
|
name: Id,
|
||||||
referrerpolicy: ReferrerPolicy,
|
referrerpolicy: ReferrerPolicy,
|
||||||
|
@ -197,7 +197,7 @@ declare_elements!{
|
||||||
crossorigin: CrossOrigin,
|
crossorigin: CrossOrigin,
|
||||||
decoding: ImageDecoding,
|
decoding: ImageDecoding,
|
||||||
height: usize,
|
height: usize,
|
||||||
ismap: bool,
|
ismap: Bool,
|
||||||
sizes: SpacedList<String>, // FIXME it's not really just a string
|
sizes: SpacedList<String>, // FIXME it's not really just a string
|
||||||
src: Uri,
|
src: Uri,
|
||||||
srcset: String, // FIXME this is much more complicated
|
srcset: String, // FIXME this is much more complicated
|
||||||
|
@ -205,16 +205,39 @@ declare_elements!{
|
||||||
width: usize,
|
width: usize,
|
||||||
} in [FlowContent, PhrasingContent, EmbeddedContent];
|
} in [FlowContent, PhrasingContent, EmbeddedContent];
|
||||||
input {
|
input {
|
||||||
|
accept: String,
|
||||||
|
alt: String,
|
||||||
autocomplete: String,
|
autocomplete: String,
|
||||||
autofocus: bool,
|
autofocus: Bool,
|
||||||
disabled: bool,
|
capture: String,
|
||||||
|
checked: Bool,
|
||||||
|
disabled: Bool,
|
||||||
form: Id,
|
form: Id,
|
||||||
|
formaction: Uri,
|
||||||
|
formenctype: FormEncodingType,
|
||||||
|
formmethod: FormDialogMethod,
|
||||||
|
formnovalidate: Bool,
|
||||||
|
formtarget: Target,
|
||||||
|
height: isize,
|
||||||
list: Id,
|
list: Id,
|
||||||
|
max: String,
|
||||||
|
maxlength: usize,
|
||||||
|
min: String,
|
||||||
|
minlength: usize,
|
||||||
|
multiple: Bool,
|
||||||
name: Id,
|
name: Id,
|
||||||
required: bool,
|
pattern: String,
|
||||||
|
placeholder: String,
|
||||||
|
readonly: Bool,
|
||||||
|
required: Bool,
|
||||||
|
size: usize,
|
||||||
|
spellcheck: Bool,
|
||||||
|
src: Uri,
|
||||||
|
step: String,
|
||||||
tabindex: usize,
|
tabindex: usize,
|
||||||
type: InputType,
|
type: InputType,
|
||||||
value: String,
|
value: String,
|
||||||
|
width: isize,
|
||||||
} in [FlowContent, FormContent, PhrasingContent];
|
} in [FlowContent, FormContent, PhrasingContent];
|
||||||
ins {
|
ins {
|
||||||
cite: Uri,
|
cite: Uri,
|
||||||
|
@ -248,12 +271,12 @@ declare_elements!{
|
||||||
height: usize,
|
height: usize,
|
||||||
name: Id,
|
name: Id,
|
||||||
type: Mime,
|
type: Mime,
|
||||||
typemustmatch: bool,
|
typemustmatch: Bool,
|
||||||
usemap: String, // TODO should be a fragment starting with '#'
|
usemap: String, // TODO should be a fragment starting with '#'
|
||||||
width: usize,
|
width: usize,
|
||||||
} in [FlowContent, PhrasingContent, EmbeddedContent, InteractiveContent, FormContent] with param;
|
} in [FlowContent, PhrasingContent, EmbeddedContent, InteractiveContent, FormContent] with param;
|
||||||
ol {
|
ol {
|
||||||
reversed: bool,
|
reversed: Bool,
|
||||||
start: isize,
|
start: isize,
|
||||||
type: OrderedListType,
|
type: OrderedListType,
|
||||||
} in [FlowContent] with li;
|
} in [FlowContent] with li;
|
||||||
|
@ -275,11 +298,11 @@ declare_elements!{
|
||||||
s in [FlowContent, PhrasingContent] with PhrasingContent;
|
s in [FlowContent, PhrasingContent] with PhrasingContent;
|
||||||
samp in [FlowContent, PhrasingContent] with PhrasingContent;
|
samp in [FlowContent, PhrasingContent] with PhrasingContent;
|
||||||
script {
|
script {
|
||||||
async: bool,
|
async: Bool,
|
||||||
crossorigin: CrossOrigin,
|
crossorigin: CrossOrigin,
|
||||||
defer: bool,
|
defer: Bool,
|
||||||
integrity: Integrity,
|
integrity: Integrity,
|
||||||
nomodule: bool,
|
nomodule: Bool,
|
||||||
nonce: Nonce,
|
nonce: Nonce,
|
||||||
src: Uri,
|
src: Uri,
|
||||||
text: String,
|
text: String,
|
||||||
|
@ -288,12 +311,12 @@ declare_elements!{
|
||||||
section in [FlowContent, SectioningContent] with FlowContent;
|
section in [FlowContent, SectioningContent] with FlowContent;
|
||||||
select {
|
select {
|
||||||
autocomplete: String,
|
autocomplete: String,
|
||||||
autofocus: bool,
|
autofocus: Bool,
|
||||||
disabled: bool,
|
disabled: Bool,
|
||||||
form: Id,
|
form: Id,
|
||||||
multiple: bool,
|
multiple: Bool,
|
||||||
name: Id,
|
name: Id,
|
||||||
required: bool,
|
required: Bool,
|
||||||
size: usize,
|
size: usize,
|
||||||
} in [FlowContent, PhrasingContent, InteractiveContent, FormContent] with SelectContent;
|
} in [FlowContent, PhrasingContent, InteractiveContent, FormContent] with SelectContent;
|
||||||
small in [FlowContent, PhrasingContent] with PhrasingContent;
|
small in [FlowContent, PhrasingContent] with PhrasingContent;
|
||||||
|
@ -305,16 +328,16 @@ declare_elements!{
|
||||||
template in [MetadataContent, FlowContent, PhrasingContent, TableColumnContent] with Node;
|
template in [MetadataContent, FlowContent, PhrasingContent, TableColumnContent] with Node;
|
||||||
textarea {
|
textarea {
|
||||||
autocomplete: OnOff,
|
autocomplete: OnOff,
|
||||||
autofocus: bool,
|
autofocus: Bool,
|
||||||
cols: usize,
|
cols: usize,
|
||||||
disabled: bool,
|
disabled: Bool,
|
||||||
form: Id,
|
form: Id,
|
||||||
maxlength: usize,
|
maxlength: usize,
|
||||||
minlength: usize,
|
minlength: usize,
|
||||||
name: Id,
|
name: Id,
|
||||||
placeholder: String,
|
placeholder: String,
|
||||||
readonly: bool,
|
readonly: Bool,
|
||||||
required: bool,
|
required: Bool,
|
||||||
rows: usize,
|
rows: usize,
|
||||||
spellcheck: BoolOrDefault,
|
spellcheck: BoolOrDefault,
|
||||||
wrap: Wrap,
|
wrap: Wrap,
|
||||||
|
@ -331,7 +354,7 @@ declare_elements!{
|
||||||
area {
|
area {
|
||||||
alt: String,
|
alt: String,
|
||||||
coords: String, // TODO could perhaps be validated
|
coords: String, // TODO could perhaps be validated
|
||||||
download: bool,
|
download: Bool,
|
||||||
href: Uri,
|
href: Uri,
|
||||||
hreflang: LanguageTag,
|
hreflang: LanguageTag,
|
||||||
ping: SpacedList<Uri>,
|
ping: SpacedList<Uri>,
|
||||||
|
@ -354,13 +377,13 @@ declare_elements!{
|
||||||
value: isize,
|
value: isize,
|
||||||
} with FlowContent;
|
} with FlowContent;
|
||||||
option {
|
option {
|
||||||
disabled: bool,
|
disabled: Bool,
|
||||||
label: String,
|
label: String,
|
||||||
selected: bool,
|
selected: Bool,
|
||||||
value: String,
|
value: String,
|
||||||
} in [SelectContent] with TextNode;
|
} in [SelectContent] with TextNode;
|
||||||
optgroup {
|
optgroup {
|
||||||
disabled: bool,
|
disabled: Bool,
|
||||||
label: String,
|
label: String,
|
||||||
} in [SelectContent] with option;
|
} in [SelectContent] with option;
|
||||||
param {
|
param {
|
||||||
|
@ -389,7 +412,7 @@ declare_elements!{
|
||||||
thead in [TableContent] with tr;
|
thead in [TableContent] with tr;
|
||||||
tr in [TableContent] with TableColumnContent;
|
tr in [TableContent] with TableColumnContent;
|
||||||
track {
|
track {
|
||||||
default: bool,
|
default: Bool,
|
||||||
kind: VideoKind,
|
kind: VideoKind,
|
||||||
label: String,
|
label: String,
|
||||||
src: Uri,
|
src: Uri,
|
||||||
|
@ -407,7 +430,7 @@ declare_elements!{
|
||||||
loop: isize,
|
loop: isize,
|
||||||
scrollamount: usize,
|
scrollamount: usize,
|
||||||
scrolldelay: usize,
|
scrolldelay: usize,
|
||||||
truespeed: bool,
|
truespeed: Bool,
|
||||||
vspace: String, // FIXME size
|
vspace: String, // FIXME size
|
||||||
width: String, // FIXME size
|
width: String, // FIXME size
|
||||||
} in [FlowContent, PhrasingContent] with PhrasingContent;
|
} in [FlowContent, PhrasingContent] with PhrasingContent;
|
||||||
|
|
Loading…
Reference in New Issue