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

46 lines
1.7 KiB
HTML

<!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">
<iframe Allowfullscreen=foo></iframe>
<ul compact="compact"></ul>
<video src="" controls="controls" autoplay="autoplay"></video>
<script async="async" defer="defer"></script>
<input type="text" autofocus="autofocus" checked="checked" disabled="disabled">
<button formnovalidate="formnovalidate"></button>
<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>