mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
33 lines
No EOL
1.8 KiB
HTML
33 lines
No EOL
1.8 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>CSS Test: font</title>
|
|
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#font">
|
|
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
|
|
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
|
|
<style type="text/css">
|
|
body {font-size: 12px; color: navy;}
|
|
.two {font: 150%/150% serif;}
|
|
span.dummy {color: silver;}
|
|
</style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-shorthand" title="15.8 Shorthand font property: the 'font' property">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" title="15.7 Font size: the 'font-size' property">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" title="10.8.1 Leading and half-leading">
|
|
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-prop">
|
|
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-prop">
|
|
</head>
|
|
<body>
|
|
<p class="two">
|
|
This text should be 18px serif. There should be 27px between baselines
|
|
(9px gap between lines).
|
|
<span class="dummy"> dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text dummy
|
|
text dummy text dummy text dummy text dummy text dummy text </span>
|
|
</p>
|
|
</body>
|
|
</html> |