mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
23 lines
412 B
HTML
23 lines
412 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var ss = document.getElementsByTagName('style')[0];
|
||
|
var styleText = '@font-face { font-family: "MarkA"; src: url(markA.ttf); } :root { font-family: "MarkA"; }';
|
||
|
|
||
|
ss.firstChild.data = styleText;
|
||
|
setTimeout(function() {
|
||
|
ss.firstChild.data = styleText + " ";
|
||
|
}, 0);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
<style>
|
||
|
</style>
|
||
|
</head>
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|