mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
24 lines
412 B
HTML
24 lines
412 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style id="s"></style>
|
|
<script type="text/javascript">
|
|
|
|
// Duplicates the string 2^n times
|
|
function exp(s, n)
|
|
{
|
|
for (var i = 0; i < n; ++i)
|
|
s += s;
|
|
return s;
|
|
}
|
|
|
|
var stylesheet = "@-moz-document url(http://www.w3.org/)" + exp(", url-prefix(file:///)", 20) + " { }";
|
|
document.getElementById("s").textContent = stylesheet;
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
</body>
|
|
</html>
|