Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-fonts/ric-in-monospace.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="ric-in-monospace-ref.html">
<style>
@font-face {
font-family: IcTestFullWidth;
src: url(../css-values/resources/IcTestFullWidth.woff2);
}
:root {
font-family: IcTestFullWidth;
}
</style>
<p style="font-family: sans-serif">The following two lines should look exactly the same.</p>
<div style="font-family: monospace; font-size: 1.5em">
<div style="font-family: sans-serif; font-size: 1ric">
Text.
</div>
</div>
<div style="font-family: sans-serif; font-size: 1ric">
Text.
</div>