swc/crates/swc_html_minifier/tests/fixture/attribute/boolean-keep/input.html

41 lines
1.9 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<p><button autofocus value="next">Button</button></p>
<p><button autofocus="autofocus" value="next">Button</button></p>
<p><button autofocus=" autofocus " value="next">Button</button></p>
<p><button autofocus="true" value="next">Button</button></p>
<p><button autofocus="false" value="next">Button</button></p>
<img draggable="false">
<img draggable="true">
<img data-readonly="test">
<input disabled="disabled">
<input CHECKED = "checked" readonly="readonly">
<option name="blah" selected="selected">moo</option>
<input autofocus="autofocus">
<input required="required">
<input multiple="multiple">
<div Allowfullscreen=foo Async=foo Autofocus=foo Autoplay=foo Checked=foo Compact=foo Controls=foo Declare=foo Default=foo Defaultchecked=foo Defaultmuted=foo Defaultselected=foo Defer=foo Disabled=foo Enabled=foo Formnovalidate=foo Hidden=foo Indeterminate=foo Inert=foo Ismap=foo Itemscope=foo Loop=foo Multiple=foo Muted=foo Nohref=foo Noresize=foo Noshade=foo Novalidate=foo Nowrap=foo Open=foo Pauseonexit=foo Readonly=foo Required=foo Reversed=foo Scoped=foo Seamless=foo Selected=foo Sortable=foo Truespeed=foo Typemustmatch=foo Visible=foo></div>
<div Allowfullscreen Async Autofocus Autoplay Checked Compact Controls Declare Default Defaultchecked Defaultmuted Defaultselected Defer Disabled Enabled Formnovalidate Hidden Indeterminate Inert Ismap Itemscope Loop Multiple Muted Nohref Noresize Noshade Novalidate Nowrap Open Pauseonexit Readonly Required Reversed Scoped Seamless Selected Sortable Truespeed Typemustmatch Visible></div>
<div draggable="auto"></div>
<div draggable="true"></div>
<div draggable="false"></div>
<div draggable="foo"></div>
<div draggable></div>
<div Draggable="auto"></div>
<div Draggable="true"></div>
<div Draggable="false"></div>
<div Draggable="foo"></div>
<div Draggable></div>
<div draggable="Auto"></div>
</body>
</html>