summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-viewport/zoom/font-size.html
blob: e4b20c3c9314acf71bcd49bbcc6fd215207b22f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<style>CSS zoom applies to font-size when specified and inherited</style>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-viewport/">
<link rel="match" href="font-size-ref.html">
<div style="font-size: 12px">
  12px text
</div>
<hr>
<div style="font-size: 12px; zoom: 2">
  12px zoomed text
</div>
<hr>
<div style="font-size: 12px">
  <div style="zoom:2">
    12px zoomed inherited text
  </div>
</div>