Files
servo/tests/wpt/css-tests/css21_dev/html4/padding-bottom-applies-to-011.htm

33 lines
1.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Padding-bottom applied to element with display run-in</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-padding-bottom">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties">
<meta name="flags" content="">
<meta name="assert" content="The 'padding-bottom' property applies to elements with a display of run-in.">
<style type="text/css">
div
{
width: 200px;
}
#div1
{
border-bottom: 10px solid blue;
display: run-in;
padding-bottom: 50px;
}
div div
{
border-bottom: 10px solid orange;
}
</style>
</head>
<body>
<p>Test passes if there is space between the blue and orange lines below.</p>
<div id="div1">
<div></div>
</div>
</body>
</html>