blob: c1a1306f7a24b3564ad534982b9381f2dba1d0ce [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
font-family: DoesNotHaveBold;
src: local("Times");
}
</style>
</head>
<body>
This test makes sure that the <code>ch</code> unit, which is supposed to be as wide as the <code>0</code> character, is in fact that wide, even if the font is using synthetic bold. The test passes if the width of the green box matches in both cases.
<div>
<div style="font: bold 16px 'DoesNotHaveBold'; display: inline-block; background: green; color: transparent;">0000000000</div>
</div>
</body>
</html>