Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<title>CSS Test: font-size: 0</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="match" href="font-size-zero-2-ref.html">
<style>
/* spec ambiguous whether font-size-adjust influences line-height: normal */
body { line-height: 1.2 }
p { margin: 1em 0 }
span.zero { font-size: 0 }
</style>
<p>before</p>
<p><span class="zero">zero</span></p>
<p>after</p>