blob: f7e92082cf9e741ca862b067dc54ce8e0edc7f83 [file] [log] [blame]
<!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>