File: quirks_font_tag.html

package info (click to toggle)
php-dompdf 0.6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 4,208 kB
  • ctags: 5,137
  • sloc: php: 19,618; makefile: 39; sh: 13
file content (70 lines) | stat: -rw-r--r-- 1,893 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
</head>
<body>

<h1>Font tags with absolute size</h1>

<font size="1">size=1</font>
<font size="2">size=2</font>
<font size="3">size=3</font>
<font size="4">size=4</font>
<font size="5">size=5</font>
<font size="6">size=6</font>
<font size="7">size=7</font>

<h1>Span tags with absolute CSS size</h1>

<span style="font-size: 8pt;">size=1</span>
<span style="font-size: 10pt;">size=2</span>
<span style="font-size: 12pt;">size=3</span>
<span style="font-size: 14pt;">size=4</span>
<span style="font-size: 18pt;">size=5</span>
<span style="font-size: 24pt;">size=6</span>
<span style="font-size: 34pt;">size=7</span>

<h1>Font tags with relative size</h1>

<font size="-4">size=-4</font>
<font size="-3">size=-3</font>
<font size="-2">size=-2</font>
<font size="-1">size=-1</font>
<font size="+1">size=+1</font>
<font size="+2">size=+2</font>
<font size="+3">size=+3</font>
<font size="+4">size=+4</font>

<h1>Span tags with relative CSS size</h1>

<span style="font-size: 0.5em;">size=-4</span>
<span style="font-size: 0.6em;">size=-3</span>
<span style="font-size: 0.7em;">size=-2</span>
<span style="font-size: 0.9em;">size=-1</span>
<span style="font-size: 1.2em;">size=+1</span>
<span style="font-size: 1.6em;">size=+2</span>
<span style="font-size: 2.0em;">size=+3</span>
<span style="font-size: 2.8em;">size=+4</span>

<h1>Nested font tags</h1>

<font size="2">size=2
  <font size="4">size=4
	  <font size="2">size=2
		  <font size="4">size=4
        <font size="2">size=2
	        <font size="4">size=4
		        <font size="2">size=2
			        <font size="4">size=4
			        </font>
		        </font>
	        </font>
        </font>
		  </font>
	  </font>
	</font>
</font>

</body>
</html>