summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/809762.html
blob: ad06540efd9017fce344df521b197160d71e724f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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>