gecko-dev/layout/reftests/text-decoration/text-decoration-zorder-1-st...

47 строки
1.0 KiB
HTML
Исходник Обычный вид История

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
body { background: white; }
p.serif { font-family: serif; left: 20px; }
p.sans { font-family: sans-serif; left: 220px; }
p {
margin: 0;
position: absolute;
font-weight: bold;
font-size: 50px;
color: fuchsia;
}
span { color: blue; }
p.under { text-decoration: underline; top: 25px; }
p.over { text-decoration: overline; top: 125px; }
p.through { text-decoration: line-through; top: 225px; }
</style>
</head>
<body>
<p class="serif under"><span>&Aacute;p|/</span></p>
<p class="serif over"><span>&Aacute;p|/</span></p>
<p class="serif through"><span>&Aacute;p|/</span></p>
<p class="sans under"><span>&Aacute;p|/</span></p>
<p class="sans over"><span>&Aacute;p|/</span></p>
<p class="sans through"><span>&Aacute;p|/</span></p>
</body>
</html>