blob: d183f6940deb4399186770a4e97bb136e05f5f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html class="test-wait">
<title>HTML Canvas reference: SVG filter using CSS font-relative line-height units</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
:root {
font: 20px Ahem;
}
div {
display: inline-block;
width: 100px;
height: 100px;
background: green;
}
.r {
background: red;
}
</style>
<div><div class="r" style="width: 48px;"></div></div><br>
<div><div class="r" style="width: 24px;"></div></div>
|