swc/crates/swc_html_utils/data/html_elements_and_attributes.json

533 lines
7.7 KiB
JSON

{
"*": {
"autofocus": {
"boolean": true
},
"hidden": {
"boolean": true
},
"inert": {
"boolean": true
},
"itemscope": {
"boolean": true
}
},
"a": {
"referrerpolicy": {
"initial": "strict-origin-when-cross-origin"
},
"target": {
"initial": "_self"
}
},
"abbr": {},
"applet": {},
"area": {
"nohref": {
"boolean": true
},
"referrerpolicy": {
"initial": "strict-origin-when-cross-origin"
},
"shape": {
"initial": "rect"
},
"target": {
"initial": "_self"
}
},
"article": {},
"aside": {},
"audio": {
"autoplay": {
"boolean": true
},
"controls": {
"boolean": true
},
"disableremoteplayback": {
"boolean": true
},
"loop": {
"boolean": true
},
"muted": {
"boolean": true
}
},
"b": {},
"base": {
"target": {
"initial": "_self"
}
},
"basefont": {},
"bdi": {},
"bdo": {},
"bgsound": {},
"big": {},
"blockquote": {},
"body": {},
"br": {
"clear": {
"initial": "none"
}
},
"button": {
"disabled": {
"boolean": true
},
"formnovalidate": {
"boolean": true
},
"type": {
"initial": "submit"
}
},
"canvas": {
"height": {
"initial": "150"
},
"width": {
"initial": "300"
}
},
"caption": {},
"center": {},
"cite": {},
"code": {},
"col": {
"span": {
"initial": "1"
}
},
"colgroup": {
"span": {
"initial": "1"
}
},
"data": {},
"datalist": {},
"dd": {},
"del": {},
"details": {
"open": {
"boolean": true
}
},
"dfn": {},
"dialog": {
"open": {
"boolean": true
}
},
"dir": {
"compact": {
"boolean": true
}
},
"div": {},
"dl": {
"compact": {
"boolean": true
}
},
"dt": {},
"em": {},
"embed": {},
"fieldset": {
"disabled": {
"boolean": true
}
},
"font": {},
"footer": {},
"form": {
"enctype": {
"initial": "application/x-www-form-urlencoded"
},
"method": {
"initial": "get"
},
"novalidate": {
"boolean": true
},
"target": {
"initial": "_self"
}
},
"frame": {
"noresize": {
"boolean": true
}
},
"frameset": {},
"h1": {},
"h2": {},
"h3": {},
"h4": {},
"h5": {},
"h6": {},
"head": {},
"header": {},
"hgroup": {},
"hr": {
"align": {
"initial": "center"
},
"noshade": {
"booean": true
},
"width": {
"initial": "100%"
},
"size": {
"initial": "2"
}
},
"html": {
"xmlns": {
"initial": "http://www.w3.org/1999/xhtml"
},
"xmlns:xlink": {
"initial": "http://www.w3.org/1999/xlink"
}
},
"i": {},
"iframe": {
"allowtransparency": {
"boolean": true
},
"allowfullscreen": {
"boolean": true
},
"fetchpriority": {
"initial": "auto"
},
"frameborder": {
"initial": "1"
},
"height": {
"initial": "150"
},
"hspace": {
"initial": "0"
},
"loading": {
"initial": "eager"
},
"referrerpolicy": {
"initial": "strict-origin-when-cross-origin"
},
"scrolling": {
"initial": "auto"
},
"seamless": {
"boolean": true
},
"vspace": {
"initial": "0"
},
"width": {
"initial": "300"
}
},
"image": {},
"img": {
"decoding": {
"initial": "auto"
},
"fetchpriority": {
"initial": "auto"
},
"ismap": {
"boolean": true
},
"loading": {
"initial": "eager"
},
"referrerpolicy": {
"initial": "strict-origin-when-cross-origin"
}
},
"input": {
"checked": {
"boolean": true
},
"disabled": {
"boolean": true
},
"ismap": {
"boolean": true
},
"multiple": {
"boolean": true
},
"formnovalidate": {
"boolean": true
},
"indeterminate": {
"boolean": true
},
"readonly": {
"boolean": true
},
"required": {
"boolean": true
},
"size": {
"initial": "20"
},
"type": {
"initial": "text"
}
},
"ins": {},
"isindex": {},
"kbd": {},
"keygen": {},
"label": {},
"legend": {},
"li": {},
"link": {
"disabled": {
"boolean": true
},
"fetchpriority": {
"initial": "auto"
},
"media": {
"initial": "all"
},
"referrerpolicy": {
"initial": "strict-origin-when-cross-origin"
},
"type": {
"initial": "text/css"
}
},
"listing": {},
"map": {},
"mark": {},
"marquee": {
"scrollamount": {
"initial": "6"
},
"scrolldelay": {
"initial": "85"
},
"truespeed": {
"boolean": true
}
},
"menu": {
"compact": {
"boolean": true
}
},
"meta": {},
"meter": {
"min": {
"initial": "0"
}
},
"nav": {},
"nobr": {},
"noembed": {},
"noframes": {},
"noscript": {},
"object": {
"declare": {
"boolean": true
},
"typemustmatch": {
"boolean": true
}
},
"ol": {
"compact": {
"boolean": true
},
"reversed": {
"boolean": true
},
"start": {
"initial": "1"
},
"type": {
"initial": "1"
}
},
"optgroup": {
"disabled": {
"boolean": true
}
},
"option": {
"disabled": {
"boolean": true
},
"selected": {
"boolean": true
}
},
"output": {},
"p": {},
"param": {},
"picture": {},
"plaintext": {},
"pre": {},
"progress": {
"max": {
"initial": "1"
}
},
"q": {},
"rb": {},
"rp": {},
"rt": {},
"rtc": {},
"ruby": {},
"s": {},
"samp": {},
"script": {
"async": {
"boolean": true
},
"charset": {
"initial": "utf-8"
},
"defer": {
"boolean": true
},
"fetchpriority": {
"initial": "auto"
},
"language": {
"initial": "javascript"
},
"nomodule": {
"boolean": true
},
"referrerpolicy": {
"initial": "strict-origin-when-cross-origin"
},
"type": {
"initial": "text/javascript"
}
},
"section": {},
"select": {
"disabled": {
"boolean": true
},
"multiple": {
"boolean": true
},
"required": {
"boolean": true
}
},
"slot": {},
"small": {},
"source": {},
"span": {},
"strike": {},
"strong": {},
"style": {
"scoped": {
"boolean": true
},
"type": {
"initial": "text/css"
}
},
"sub": {},
"sup": {},
"table": {},
"tbody": {},
"td": {
"colspan": {
"initial": "1"
},
"nowrap": {
"boolean": true
},
"rowspan": {
"initial": "1"
}
},
"template": {},
"textarea": {
"disabled": {
"boolean": true
},
"cols": {
"initial": "20"
},
"readonly": {
"boolean": true
},
"required": {
"boolean": true
},
"rows": {
"initial": "2"
},
"wrap": {
"initial": "sort"
}
},
"tfoot": {},
"th": {
"colspan": {
"initial": "1"
},
"rowspan": {
"initial": "1"
}
},
"thead": {},
"time": {},
"title": {},
"tr": {
"nowrap": {
"boolean": true
}
},
"track": {
"default": {
"boolean": true
},
"kind": {
"initial": "subtitles"
}
},
"tt": {},
"ul": {
"compact": {
"boolean": true
}
},
"var": {},
"video": {
"autoplay": {
"boolean": true
},
"controls": {
"boolean": true
},
"loop": {
"boolean": true
},
"muted": {
"boolean": true
},
"playsinline": {
"boolean": true
}
},
"wbr": {},
"xmp": {}
}