summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-viewport/zoom/line-height.html
blob: fa333be32f6abf97911ee62a09555ceb1071d9d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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/">
<link rel="match" href="line-height-ref.html">
<div style="line-height: 12px; font-size: 12px">
  Double-spaced<br>12px font text
</div>

<hr>

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

<hr>

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

<hr>