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/rem-in-monospace.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel=author href="mailto:xiaochengh@chromium.org">
<link rel=match href="./rem-in-monospace-ref.html">
<p>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: 1rem">
Text.
</div>
</div>
<div style="font-family: sans-serif; font-size: 1rem">
Text.
</div>