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/font-size-zero-1.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<title>CSS Test: font-size: 0</title>
<link rel="match" href="font-size-zero-1-ref.html">
<style>
/* spec ambiguous whether font-size-adjust influences line-height: normal */
body { line-height: 1.2 }
p { margin: 1em 0 }
p.zero { font-size: 0 }
</style>
<p>before</p>
<p class="zero">zero</p>
<p>after</p>