swc/crates/swc_html_minifier/tests/fixture/attribute/javascript-prefix/input.html

19 lines
734 B
HTML

<!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<form action="/test">
<input type="text" onkeydown="javascript:myFunction()">
</form>
<div type="text" onmouseover="javascript:myFunction()">test</div>
<div type="text" onmouseover=" javascript:myFunction() ">test</div>
<div type="text" onmouseover="">test</div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"
style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:-1;">
<circle onmouseover=" javascript:alert('test') " cx="50" cy="50" r="30" style="fill:url(#gradient)" />
</svg>
</body>
</html>