18 lines
597 B
HTML
18 lines
597 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>Shorthand line-height bug</title>
|
|
<style>
|
|
p {line-height:1em;}
|
|
p {font:15px/5em Georgia;}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<p>This tests bug <a href="http://bugs.webkit.org/show_bug.cgi?id=13174">Bug 13174: line-height in font shorthand does not override a previously stated line-height property</a>.</p>
|
|
<p>This text should be <code>font:15px/5em Georgia</code>.</p>
|
|
</body>
|
|
</html>
|
|
|