[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-03-26 20:59:39 +00:00
parent 35e7273b69
commit 5d22ec1fb0

View File

@@ -88,7 +88,8 @@ class TextElementBase(ElementBase):
# available attributes, just the global and the most common ones. # available attributes, just the global and the most common ones.
# If you need to access a specific attribute, you can always use the `_js.<attribute>` # If you need to access a specific attribute, you can always use the `_js.<attribute>`
class a(TextElementBase): class a(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a"""
tag = "a" tag = "a"
download = JSProperty("download") download = JSProperty("download")
@@ -100,17 +101,20 @@ class a(TextElementBase):
class abbr(TextElementBase): class abbr(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr"""
tag = "abbr" tag = "abbr"
class address(TextElementBase): class address(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address"""
tag = "address" tag = "address"
class area(ElementBase): class area(ElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area"""
tag = "area" tag = "area"
alt = JSProperty("alt") alt = JSProperty("alt")
@@ -125,17 +129,20 @@ class area(ElementBase):
class article(TextElementBase): class article(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article"""
tag = "article" tag = "article"
class aside(TextElementBase): class aside(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside"""
tag = "aside" tag = "aside"
class audio(ElementBase): class audio(ElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio"""
tag = "audio" tag = "audio"
autoplay = JSProperty("autoplay") autoplay = JSProperty("autoplay")
@@ -150,24 +157,28 @@ class audio(ElementBase):
class b(TextElementBase): class b(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b"""
tag = "b" tag = "b"
class blockquote(TextElementBase): class blockquote(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote"""
tag = "blockquote" tag = "blockquote"
cite = JSProperty("cite") cite = JSProperty("cite")
class br(ElementBase): class br(ElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br"""
tag = "br" tag = "br"
class button(TextElementBase): class button(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"""
tag = "button" tag = "button"
autofocus = JSProperty("autofocus") autofocus = JSProperty("autofocus")
@@ -184,7 +195,8 @@ class button(TextElementBase):
class canvas(TextElementBase): class canvas(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas"""
tag = "canvas" tag = "canvas"
height = JSProperty("height") height = JSProperty("height")
@@ -192,39 +204,46 @@ class canvas(TextElementBase):
class caption(TextElementBase): class caption(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption"""
tag = "caption" tag = "caption"
class cite(TextElementBase): class cite(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite"""
tag = "cite" tag = "cite"
class code(TextElementBase): class code(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code"""
tag = "code" tag = "code"
class data(TextElementBase): class data(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data"""
tag = "data" tag = "data"
value = JSProperty("value") value = JSProperty("value")
class datalist(TextElementBase): class datalist(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist"""
tag = "datalist" tag = "datalist"
class dd(TextElementBase): class dd(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd"""
tag = "dd" tag = "dd"
class del_(TextElementBase): class del_(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del"""
tag = "del" tag = "del"
cite = JSProperty("cite") cite = JSProperty("cite")
@@ -232,43 +251,50 @@ class del_(TextElementBase):
class details(TextElementBase): class details(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details"""
tag = "details" tag = "details"
open = JSProperty("open") open = JSProperty("open")
class dialog(TextElementBase): class dialog(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog"""
tag = "dialog" tag = "dialog"
open = JSProperty("open") open = JSProperty("open")
class div(TextElementBase): class div(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"""
tag = "div" tag = "div"
class dl(TextElementBase): class dl(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl"""
tag = "dl" tag = "dl"
value = JSProperty("value") value = JSProperty("value")
class dt(TextElementBase): class dt(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt"""
tag = "dt" tag = "dt"
class em(TextElementBase): class em(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em"""
tag = "em" tag = "em"
class embed(TextElementBase): class embed(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed"""
tag = "embed" tag = "embed"
height = JSProperty("height") height = JSProperty("height")
@@ -278,7 +304,8 @@ class embed(TextElementBase):
class fieldset(TextElementBase): class fieldset(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset"""
tag = "fieldset" tag = "fieldset"
disabled = JSProperty("disabled") disabled = JSProperty("disabled")
@@ -287,22 +314,26 @@ class fieldset(TextElementBase):
class figcaption(TextElementBase): class figcaption(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption"""
tag = "figcaption" tag = "figcaption"
class figure(TextElementBase): class figure(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure"""
tag = "figure" tag = "figure"
class footer(TextElementBase): class footer(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer"""
tag = "footer" tag = "footer"
class form(TextElementBase): class form(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form"""
tag = "form" tag = "form"
accept_charset = JSProperty("accept-charset") accept_charset = JSProperty("accept-charset")
@@ -318,57 +349,68 @@ class form(TextElementBase):
class h1(TextElementBase): class h1(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1 """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1"""
tag = "h1" tag = "h1"
class h2(TextElementBase): class h2(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2 """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2"""
tag = "h2" tag = "h2"
class h3(TextElementBase): class h3(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3 """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3"""
tag = "h3" tag = "h3"
class h4(TextElementBase): class h4(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4 """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4"""
tag = "h4" tag = "h4"
class h5(TextElementBase): class h5(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5 """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5"""
tag = "h5" tag = "h5"
class h6(TextElementBase): class h6(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6 """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6"""
tag = "h6" tag = "h6"
class header(TextElementBase): class header(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header"""
tag = "header" tag = "header"
class hgroup(TextElementBase): class hgroup(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup"""
tag = "hgroup" tag = "hgroup"
class hr(TextElementBase): class hr(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr"""
tag = "hr" tag = "hr"
class i(TextElementBase): class i(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i"""
tag = "i" tag = "i"
class iframe(TextElementBase): class iframe(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe"""
tag = "iframe" tag = "iframe"
allow = JSProperty("allow") allow = JSProperty("allow")
@@ -384,7 +426,8 @@ class iframe(TextElementBase):
class img(ElementBase): class img(ElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img"""
tag = "img" tag = "img"
alt = JSProperty("alt") alt = JSProperty("alt")
@@ -402,7 +445,8 @@ class img(ElementBase):
# NOTE: Input is a reserved keyword in Python, so we use input_ instead # NOTE: Input is a reserved keyword in Python, so we use input_ instead
class input_(ElementBase): class input_(ElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"""
tag = "input" tag = "input"
accept = JSProperty("accept") accept = JSProperty("accept")
@@ -441,38 +485,45 @@ class input_(ElementBase):
class ins(TextElementBase): class ins(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins"""
tag = "ins" tag = "ins"
cite = JSProperty("cite") cite = JSProperty("cite")
datetime = JSProperty("datetime") datetime = JSProperty("datetime")
class kbd(TextElementBase): class kbd(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd"""
tag = "kbd" tag = "kbd"
class label(TextElementBase): class label(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"""
tag = "label" tag = "label"
for_ = JSProperty("for") for_ = JSProperty("for")
class legend(TextElementBase): class legend(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend"""
tag = "legend" tag = "legend"
class li(TextElementBase): class li(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li"""
tag = "li" tag = "li"
value = JSProperty("value") value = JSProperty("value")
class link(TextElementBase): class link(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link"""
tag = "link" tag = "link"
as_ = JSProperty("as") as_ = JSProperty("as")
@@ -492,29 +543,34 @@ class link(TextElementBase):
class main(TextElementBase): class main(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main"""
tag = "main" tag = "main"
class map_(TextElementBase): class map_(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map"""
tag = "map" tag = "map"
name = JSProperty("name") name = JSProperty("name")
class mark(TextElementBase): class mark(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark"""
tag = "mark" tag = "mark"
class menu(TextElementBase): class menu(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu"""
tag = "menu" tag = "menu"
class meter(TextElementBase): class meter(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter"""
tag = "meter" tag = "meter"
form = JSProperty("form") form = JSProperty("form")
@@ -527,12 +583,14 @@ class meter(TextElementBase):
class nav(TextElementBase): class nav(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav"""
tag = "nav" tag = "nav"
class object_(TextElementBase): class object_(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object"""
tag = "object" tag = "object"
data = JSProperty("data") data = JSProperty("data")
@@ -543,8 +601,10 @@ class object_(TextElementBase):
usemap = JSProperty("usemap") usemap = JSProperty("usemap")
width = JSProperty("width") width = JSProperty("width")
class ol(TextElementBase): class ol(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol"""
tag = "ol" tag = "ol"
reversed = JSProperty("reversed") reversed = JSProperty("reversed")
@@ -553,7 +613,8 @@ class ol(TextElementBase):
class optgroup(TextElementBase): class optgroup(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup"""
tag = "optgroup" tag = "optgroup"
disabled = JSProperty("disabled") disabled = JSProperty("disabled")
@@ -561,12 +622,14 @@ class optgroup(TextElementBase):
class option(TextElementBase): class option(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option"""
tag = "option" tag = "option"
class output(TextElementBase): class output(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output"""
tag = "output" tag = "output"
for_ = JSProperty("for") for_ = JSProperty("for")
@@ -575,22 +638,26 @@ class output(TextElementBase):
class p(TextElementBase): class p(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p"""
tag = "p" tag = "p"
class picture(TextElementBase): class picture(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture"""
tag = "picture" tag = "picture"
class pre(TextElementBase): class pre(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre"""
tag = "pre" tag = "pre"
class progress(TextElementBase): class progress(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress"""
tag = "progress" tag = "progress"
max = JSProperty("max") max = JSProperty("max")
@@ -598,19 +665,22 @@ class progress(TextElementBase):
class q(TextElementBase): class q(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q"""
tag = "q" tag = "q"
cite = JSProperty("cite") cite = JSProperty("cite")
class s(TextElementBase): class s(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s"""
tag = "s" tag = "s"
class script(TextElementBase): class script(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script"""
tag = "script" tag = "script"
# Let's add async manually since it's a reserved keyword in Python # Let's add async manually since it's a reserved keyword in Python
@@ -628,22 +698,26 @@ class script(TextElementBase):
class section(TextElementBase): class section(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section"""
tag = "section" tag = "section"
class select(TextElementBase): class select(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select"""
tag = "select" tag = "select"
class small(TextElementBase): class small(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small"""
tag = "small" tag = "small"
class source(TextElementBase): class source(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source"""
tag = "source" tag = "source"
media = JSProperty("media") media = JSProperty("media")
@@ -654,17 +728,20 @@ class source(TextElementBase):
class span(TextElementBase): class span(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"""
tag = "span" tag = "span"
class strong(TextElementBase): class strong(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong"""
tag = "strong" tag = "strong"
class style(TextElementBase): class style(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style"""
tag = "style" tag = "style"
blocking = JSProperty("blocking") blocking = JSProperty("blocking")
@@ -674,47 +751,56 @@ class style(TextElementBase):
class sub(TextElementBase): class sub(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub"""
tag = "sub" tag = "sub"
class summary(TextElementBase): class summary(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary"""
tag = "summary" tag = "summary"
class sup(TextElementBase): class sup(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup"""
tag = "sup" tag = "sup"
class table(TextElementBase): class table(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table"""
tag = "table" tag = "table"
class tbody(TextElementBase): class tbody(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody"""
tag = "tbody" tag = "tbody"
class td(TextElementBase): class td(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td"""
tag = "td" tag = "td"
colspan = JSProperty("colspan") colspan = JSProperty("colspan")
headers = JSProperty("headers") headers = JSProperty("headers")
rowspan = JSProperty("rowspan") rowspan = JSProperty("rowspan")
class template(TextElementBase): class template(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template"""
tag = "template" tag = "template"
shadowrootmode = JSProperty("shadowrootmode") shadowrootmode = JSProperty("shadowrootmode")
class textarea(TextElementBase): class textarea(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea"""
tag = "textarea" tag = "textarea"
autocapitalize = JSProperty("autocapitalize") autocapitalize = JSProperty("autocapitalize")
@@ -736,34 +822,40 @@ class textarea(TextElementBase):
class tfoot(TextElementBase): class tfoot(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot"""
tag = "tfoot" tag = "tfoot"
class th(TextElementBase): class th(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th"""
tag = "th" tag = "th"
class thead(TextElementBase): class thead(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead"""
tag = "thead" tag = "thead"
class time(TextElementBase): class time(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time"""
tag = "time" tag = "time"
datetime = JSProperty("datetime") datetime = JSProperty("datetime")
class title(TextElementBase): class title(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title"""
tag = "title" tag = "title"
class tr(TextElementBase): class tr(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr"""
tag = "tr" tag = "tr"
abbr = JSProperty("abbr") abbr = JSProperty("abbr")
@@ -774,7 +866,8 @@ class tr(TextElementBase):
class track(TextElementBase): class track(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track"""
tag = "track" tag = "track"
default = JSProperty("default") default = JSProperty("default")
@@ -785,22 +878,26 @@ class track(TextElementBase):
class u(TextElementBase): class u(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u"""
tag = "u" tag = "u"
class ul(TextElementBase): class ul(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul"""
tag = "ul" tag = "ul"
class var(TextElementBase): class var(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var"""
tag = "var" tag = "var"
class video(TextElementBase): class video(TextElementBase):
""" Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video """ """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video"""
tag = "video" tag = "video"
autoplay = JSProperty("autoplay") autoplay = JSProperty("autoplay")