summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-viewport/line-height-ref.html
blob: c75539243cbb45ab7407d5519748811e0f44eef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<style>CSS zoom applies to line-height when specified and inherited</style>
<link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-viewport/">
<div style="line-height: 12px; font-size: 12px">
  Double-spaced<br>12px font text
</div>

<hr>

<div style="line-height: 24px; font-size: 24px;">
  Double-spaced<br>12px font zoomed text
</div>

<hr>

<div style="line-height: 12px; font-size: 12px">
  <div style="line-height: 24px; font-size: 24px">
    Double-spaced<br>12px font zoomed inherited text
  </div>
</div>

<hr>