summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-2.html
blob: 0fadcd458db59b2191593cfde3c0645cbe3a7c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<title>CSS Test: font-size-adjust: 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="help" href="http://www.w3.org/TR/css3-fonts/#font-size-adjust-prop">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">
<link rel="match" href="font-size-zero-2-ref.html">
<meta name="flags" content="">
<style>
/* spec ambiguous whether font-size-adjust influences line-height: normal */
body { line-height: 1.2 }
span { line-height: 0 }

p { margin: 1em 0 }
span.zero { font-size-adjust: 0 }
</style>

<p>before</p>
<p><span class="zero">zero</span></p>
<p>after</p>