blob: 108e281861184098a84d2728fa0fc98e77f70e1e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
oContext2d = document.getCSSCanvasContext("2d","",0,0);
oContext2d.font = "small-caps .0ex G";
oContext2d.font = "italic .0ex G";
oContext2d.font = "italic 400 .0ex G";
</script>
</head>
<body>
<p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=66291">66291</a>: Crash because CSSPrimitiveValue::computeLengthDouble assumes fontMetrics are available</p>
<p>This test passed as it did not crash.</p>