file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
crates/swc_html_minifier/tests/fixture/attribute/javascript-urls/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><a href='javascript:alert("test")'>a</a>
<a href='javascript:alert("test")'>b</a>
<a href=" JAVASCRIPT: broken;;( ">b</a>
<iframe src='javascript:alert("test")' frameborder=0></iframe>
<svg viewBox="0 0 100 100">
<a href='javascript:alert("test")'>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/link/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link rel="stylesheet" href="a.css">
<link rel="stylesheet" href="b.css" type="text/css">
<link rel="stylesheet" href="b.css" type="TEXT/CSS">
<link rel="stylesheet" href="c.css" type=" text/css ">
<link rel="stylesheet" href="d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/link/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link rel=stylesheet href=a.css><link rel=stylesheet href=b.css><link rel=stylesheet href=b.css><link rel=stylesheet href=c.css><link rel=stylesheet href=d.css type=""><link rel=stylesheet href=d.css type=unknown/unknown><link href=default.css rel=stylesheet title="De... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/marquee/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<marquee scrollamount="6">
Lorem ipsum dolor sit amet...
</marquee>
<marquee scrolldelay="85">
Lorem ipsum dolor sit amet...
</marquee>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/marquee/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><marquee>
Lorem ipsum dolor sit amet...
</marquee>
<marquee>
Lorem ipsum dolor sit amet...
</marquee> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/media/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link rel="stylesheet" type="text/css" href="//msiter.ru/theme.css">
<link rel="stylesheet" type="text/css" href="//msiter.ru/print.css" media="print">
<link rel="stylesheet" type="text/css" href="//msiter.ru/theme.css" media="(prefers-colo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/media/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link rel=stylesheet href=//msiter.ru/theme.css><link rel=stylesheet href=//msiter.ru/print.css media=print><link rel=stylesheet href=//msiter.ru/theme.css media=(prefers-color-scheme:dark)><link rel=preload as=image imagesrcset="dog-cropped-1x.jpg,dog-cropped-2x.jpg ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/meter/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<meter id="fuel"
min="0" max="100"
low="33" high="66" optimum="80"
value="50">
at 50/100
</meter>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/meter/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><meter id=fuel min=0 max=100 low=33 high=66 optimum=80 value=50>
at 50/100
</meter> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/ol/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<ol type="1">
<li>Mix flour, baking powder, sugar, and salt.</li>
<li>In another bowl, mix eggs, milk, and oil.</li>
<li>Stir both mixtures together.</li>
<li>Fill muffin tray 3/4 full.</li>
<li>Bake for 20 minutes.</... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/ol/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><ol type=1>
<li>Mix flour, baking powder, sugar, and salt.</li>
<li>In another bowl, mix eggs, milk, and oil.</li>
<li>Stir both mixtures together.</li>
<li>Fill muffin tray 3/4 full.</li>
<li>Bake for 20 minutes.</li>
</ol>
<ol type=1 start=1>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/onclick/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<a href="ht... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/onclick/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><a href=http://www.google.co.uk/ onclick='return confirm("Follow this link?")... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/part/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<style>
c-e::part(textspan) { color: red; }
</style>
<template id="c-e-template">
<span part="
textspan
a
b
c
">This text will be red</span>
</template>
<c-e></c-e>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/part/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><body><style>c-e::part(textspan){color:red}</style><template id=c-e-template>
<span part="a b c textspan">This text will be red</span>
</template>
<c-e></c-e> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/progress/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<progress max="1"></progress>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/progress/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><progress max=1></progress> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/quote/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div data-t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/quote/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><div data-test=test></div>
<div data-test=test></div>
<div data-test=test></d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/rel/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<a href="#" rel="value1 nofollow">Link</a>
<a href="#" rel=" value1 nofollow ">Link</a>
<a href="#" rel=" nofollow ">Link</a>
<form rel="noreferrer nofollow" action="mypage.php">
<input type="search" placeholder="search here" ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/rel/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><a href=# rel="nofollow value1">Link</a>
<a href=# rel="nofollow value1">Link</a>
<a href=# rel=nofollow>Link</a>
<form rel="nofollow noreferrer" action=mypage.php>
<input type=search placeholder="search here">
<input type=button value=search>
</form> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/remove_redundant_attributes-all/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link rel="stylesheet" href="a.css">
<link rel="stylesheet" href="b.css" type="text/css">
<link rel="stylesheet" href="b.css" type="TEXT/CSS">
<link rel="stylesheet" href="c.css" type=" text/css ">
<link rel="stylesheet" href="d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/remove_redundant_attributes-all/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link rel=stylesheet href=a.css><link rel=stylesheet href=b.css><link rel=stylesheet href=b.css><link rel=stylesheet href=c.css><link rel=stylesheet href=d.css type=""><link rel=stylesheet href=d.css type=unknown/unknown><div>test</div>
<svg width=2rem height=2rem fil... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/remove_redundant_attributes-none/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link rel="stylesheet" href="a.css">
<link rel="stylesheet" href="b.css" type="text/css">
<link rel="stylesheet" href="b.css" type="TEXT/CSS">
<link rel="stylesheet" href="c.css" type=" text/css ">
<link rel="stylesheet" href="d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/remove_redundant_attributes-none/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link rel=stylesheet href=a.css><link rel=stylesheet href=b.css type=text/css><link rel=stylesheet href=b.css type=text/css><link rel=stylesheet href=c.css type=text/css><link rel=stylesheet href=d.css type=""><link rel=stylesheet href=d.css type=unknown/unknown><div>... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/remove_redundant_attributes-smart/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link rel="stylesheet" href="a.css">
<link rel="stylesheet" href="b.css" type="text/css">
<link rel="stylesheet" href="b.css" type="TEXT/CSS">
<link rel="stylesheet" href="c.css" type=" text/css ">
<link rel="stylesheet" href="d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/remove_redundant_attributes-smart/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link rel=stylesheet href=a.css><link rel=stylesheet href=b.css><link rel=stylesheet href=b.css><link rel=stylesheet href=c.css><link rel=stylesheet href=d.css type=""><link rel=stylesheet href=d.css type=unknown/unknown><div>test</div>
<svg width=2rem height=2rem fil... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/script-type/input.html | HTML | <!doctype html>
<script type="text/javascript" defer>
console.log();
</script>
<script type="application/javascript">
console.log();
</script>
<script type="application/JAVASCRIPT">
console.log();
</script>
<script type="module">
console.log();
</script>
<script type="MODULE">
console.log();
</scrip... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/script-type/output.min.html | HTML | <!doctype html><script defer>console.log()</script><script>console.log(),console.log()</script><script type=module>console.log(),console.log()</script><script>window.jQuery||document.write('<script src="jquery.js"><\/script>')</script><script type=text/html>
<div>
test
</div>
<!-- aa -->\n
</script>... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/sort-attributes-disabled/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link href="foo">
<link rel="bar" href="baz">
<link type="text/css" href="app.css" rel="stylesheet" async>
<script type="text/html" async></script>
</head>
<body>
<div b="2" a="1" c="3" foo bar="baz">test</div>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/sort-attributes-disabled/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link href=foo><link rel=bar href=baz><link href=app.css rel=stylesheet async><script type=text/html async></script><div b=2 a=1 c=3 foo bar=baz>test</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/sort-attributes/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<link href="foo">
<link rel="bar" href="baz">
<link type="text/css" href="app.css" rel="stylesheet" async>
<script type="text/html" async></script>
<!--[if lt IE 9]><script b="a" type="module"></script><![endif]-->
</head>
<body>
<... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/sort-attributes/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link href=foo><link href=baz rel=bar><link href=app.css rel=stylesheet async><script type=text/html async></script><!--[if lt IE 9]><script type=module b=a></script><![endif]--><div foo c=3 bar=baz b=2 a=1>test</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/space-between/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<p title="bar">foo</p>
<p
title
=
"bar"
>foo</p
>
<img src="test"/>
<img src="test"
/>
<img
src="test"
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/space-between/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><p title=bar>foo</p>
<p title=bar>foo</p>
<img src=test>
<img src=test>
<img src=test>
<p title=bar>foo</p>
<p title=bar>foo</p>
<p title=bar>foo</p>
<p title=bar>foo | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/srcdoc/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<iframe srcdoc="<p>hello<!-- comment --> </p>"></iframe>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/srcdoc/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><iframe srcdoc="<p>hello"></iframe> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/srcset/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<img srcset="elva-fairy-480w.jpg 480w,
elva-fairy-800w.jpg 800w"
sizes="(max-width: 600px) 480px,
800px"
src="elva-fairy-800w.jpg"
alt="Elva dressed as a fairy">
<img srcset="elva-fairy-320w.jpg,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/srcset/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><img srcset="elva-fairy-480w.jpg 480w,elva-fairy-800w.jpg 800w" sizes="(max-width:600px) 480px,800px" src=elva-fairy-800w.jpg alt="Elva dressed as a fairy">
<img srcset="elva-fairy-320w.jpg,elva-fairy-480w.jpg 1.5x,elva-fairy-640w.jpg 2x" src=elva-fairy-640w.jpg alt=... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/style/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<style>
h1 {color:red;}
p {color:blue;}
</style>
<style type="text/css">
h1 {color:red;}
p {color:blue;}
</style>
<style type="TEXT/CSS">
h1 {color:red;}
p {color:blue;}
</style>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/style/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><style>h1{color:red}p{color:blue}h1{color:red}p{color:blue}h1{color:red}p{color:blue}</style><style type="">
h1 {color:red;}
p {color:blue;}
</style><style>h1{color:red}p{color:blue}</style><style type=unknown/unknown>
h1 {color:red;}
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/tabindex/input.html | HTML | <!doctype html>
<a href="#" tabindex=" 1 ">x</a><button tabindex=" 2 ">y</button> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/tabindex/output.min.html | HTML | <!doctype html><a href=# tabindex=1>x</a><button tabindex=2>y</button> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/textarea/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<textarea name="test" id="test" cols="20" rows="2"></textarea>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/textarea/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><textarea name=test id=test cols=20 rows=2></textarea> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/track/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<video con... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/track/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><video controls src=/media/cc0-videos/friday.mp4>
<track default kind=cap... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/usemap/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<map name="... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/usemap/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><map name=infographic>
<area shape=rect coords=184,6,253,27 href=https://... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/video/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<video src="" poster=""></video>
<hr align="center" width="100%">
<div>test</div>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/attribute/video/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><video src="" poster=""></video>
<hr>
<div>test</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/basic/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/basic/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><!--[if !IE]>--><link href=non-ie.css rel=stylesheet><!--<![endif]--><!--[if ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/conditional-comment-disabled/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/conditional-comment-disabled/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><!--[if !IE]>--><link href=non-ie.css rel=stylesheet><!--<![endif]--><!--[if ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/conditional-comment/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/conditional-comment/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><!--[if !IE]>--><link href=non-ie.css rel=stylesheet><!--<![endif]--><!--[if ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/disable-remove-comment/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/disable-remove-comment/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><!--[if !IE]>--><link href=non-ie.css rel=stylesheet><!--<![endif]--><!--[if ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/html/input.html | HTML | <!--test--><!doctype html><!--test-->
<!--test--><html lang="en"><!--test-->
<!--test--><head><!--test-->
<!--test--><title>Document</title><!--test-->
<!--test--></head><!--test-->
<!--test--><body><!--test-->
<!--test-->
<div>test</div>
<!--test-->
<!--test--></body><!--test-->
<!--test--></html><!--test-->
<... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/html/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><div>test</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/preserve-comments/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/preserve-comments/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><link href=non-ie.css rel=stylesheet><p>This is a paragraph.</p>
<d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/spaces/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<!-- a --> <!-- b --> <!-- c --><link rel="stylesheet" href="test.css">
</head>
<body><div>foo<div> baz </div> bar</div></body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/comment/spaces/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><link rel=stylesheet href=test.css><div>foo<div>baz</div>bar</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/html-5-whitespace/input.html | HTML | <!DOCTYPE HTML >
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/html-5-whitespace/output.min.html | HTML | <!doctype html><title>Title of the document</title>The content of the document...... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/html-5/input.html | HTML | <!DOCTYPE HTML>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/html-5/output.min.html | HTML | <!doctype html><title>Title of the document</title>The content of the document...... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/system-force-set-html5-doctype/input.html | HTML | <!doctype html SYSTEM "about:legacy-compat">
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<div>test</div>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/system-force-set-html5-doctype/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><div>test</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/system/input.html | HTML | <!doctype html SYSTEM "about:legacy-compat">
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<div>test</div>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/system/output.min.html | HTML | <!doctype html system "about:legacy-compat"><html lang=en><title>Document</title><div>test</div> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/uppercase/input.html | HTML | <!DOCTYPE HTML>
<HTML LANG="EN">
<HEAD>
<META CHARSET="UTF-8">
<META NAME="viewport"
CONTENT="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<META HTTP-EQUIV="X-UA-Compatible" CONTENT="ie=edge">
<TITLE>Document</TITLE>
</HEAD>
<BODY>
<DIV DA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/doctype/uppercase/output.min.html | HTML | <!doctype html><html lang=EN><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><div data-test=Test>TEST</div>
<p>blah<span>blah 2<span>blah 3</span></sp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/a/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<a href="test.html"><div>hey</div></a>
<a href>ok</a>
<a onclick></a>
<a href=" test.html "><div>hey</div></a>
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/a/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><a href=test.html><div>hey</div></a>
<a href>ok</a>
<a onclick></a>
<a href=test.html><div>hey</div></a> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/blockquote/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<blockquote... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/blockquote/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><blockquote cite=http://developer.mozilla.org>
<p>This is a quotation tak... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/br/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
test<br>test
test<br/>test
</body>
</html> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/br/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title>test<br>test
test<br>test | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/custom-script-type/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<script type="text/custom-module">
console.log("test" + "test");
</script>
<script type="text/custom-script">
console.log("test" + "test");
</script>
<script type="text/custom-json">
{
"foo": "bar"
}
</script>
<script... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/custom-script-type/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><body><script type=text/custom-module>console.log("testtest")</script><script type=text/custom-script>console.log("testtest")</script><script type=text/custom-json>{"foo":"bar"}</script><script type=text/custom-css>a{color:#fff}</script><script type=text/html><div dat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/custom/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<begriffs.pagination ng-init="perPage=20" collection="logs" url="\'/api/logs?user=-1\'" per-page="perPage" per-page-presets="[10,20,50,100]" template-url="/assets/paginate-anything.html"></begriffs.pagination>
<some-tag-1></some-tag-1><s... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/custom/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><begriffs.pagination ng-init="perPage=20" collection=logs url="\'/api/logs?user=-1\'" per-page=perPage per-page-presets=[10,20,50,100] template-url=/assets/paginate-anything.html></begriffs.pagination>
<some-tag-1></some-tag-1><some-tag-2></some-tag-2>
[\']["]
<custom... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/del/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<p><del cit... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/del/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><p><del cite=del_demo_cite.htm>This text has been deleted</del> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/disabled-js/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Recipe",
"name": "Party Coffee Cake",
"author": {
"@type": "Person",
"name": ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/disabled-js/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><script type=application/ld+json>{"@context":"https://schema.org/","@type":"Recipe","author":{"@type":"Person","name":"Mary Stone"},"datePublished":"2018-03-10","description":"This coffee cake is awesome and perfect for parties.","name":"Party Coffee Cake","prepTime":... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/disabled-json/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Recipe",
"name": "Party Coffee Cake",
"author": {
"@type": "Person",
"name": ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/disabled-json/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><script type=application/ld+json>
{
"@context": "https://schema.org/",
"@type": "Recipe",
"name": "Party Coffee Cake",
"author": {
"@type": "Person",
"name": "Mary Stone"
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/empty-metadata-elements/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title></title>
<base>
</head>
<body>
<script></script>
<style></style>
<link>
<meta>
<title></title>
<svg>
<script></script>
<style></style>
</svg>
<script>
</script>
<script type="module"></script>
<span>Empty modules</span>
<script type="module">
</script... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/empty-metadata-elements/output.min.html | HTML | <!doctype html><html lang=en><svg>
</svg>
<span>Empty modules</span>
<span>Empty scripts</span>
<span>Empty styles</span> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/form/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<form action="" method="get" class="form-example" enctype="application/x-www-form-urlencoded">
<div class="form-example">
<label for="name">Enter your name: </label>
<input type="text" name="name" id="name" required>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/form/output.min.html | HTML | <!doctype html><html lang=en><title>Document</title><form action="" method=get class=form-example enctype=application/x-www-form-urlencoded>
<div class=form-example>
<label for=name>Enter your name: </label>
<input type=text name=name id=name required>
</div>
<div class=form-example>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/iframe/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<iframe san... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/iframe/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><iframe sandbox="allow-forms allow-popups allow-same-origin allow-scripts" sr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/img/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link href="mobile.css... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/img/output.min.html | HTML | <!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><link href=mobile.css rel=stylesheet media="screen and (max-width:600px)"><st... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_html_minifier/tests/fixture/element/math/input.html | HTML | <!doctype html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<math xmlns="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<mrow>
<mrow>
<msup>
<mi>a</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.