mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
26 lines
428 B
HTML
26 lines
428 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: "z";
|
|
src: url(invalid);
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
function boom()
|
|
{
|
|
var ctx = document.querySelector("canvas").getContext('2d');
|
|
ctx.font = "10px serif";
|
|
document.querySelector("style").appendChild(document.createTextNode(" "));
|
|
ctx.measureText("123");
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();">
|
|
<canvas width="100" height="100"></canvas>
|
|
</body>
|
|
</html>
|