16 lines
513 B
HTML
16 lines
513 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
This test makes sure that using the system font at 0px size doesn't crash. The test passes if there is no crash.
|
|
<div style="font: 0px 'system-ui';">Hello</div>
|
|
<div style="font: 0px 'Times'; font-synthesis: none; font-weight: 0; font-stretch: 0%; font-style: italic;">Hello</div>
|
|
<div style="font: 0px 'Times'; font-synthesis: none; font-weight: 0; font-stretch: 0%;">Hello</div>
|
|
</body>
|
|
</html>
|