Files
servo/tests/wpt/css-tests/css21_dev/html4/inline-formatting-context-006.htm

33 lines
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Inline formatting context with left padding</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting">
<link rel="match" href="reference/inline-formatting-context-002-ref.htm">
<meta name="flags" content="">
<meta name="assert" content="Left padding are respected between inline boxes.">
<style type="text/css">
div
{
display: inline;
}
#div1
{
background: black;
padding-left: 100px;
}
div div
{
background: white;
}
</style>
</head>
<body>
<p>Test passes if there is a black stripe on the left side of "Filler Text".</p>
<div id="div1">
<div>Filler Text</div>
</div>
</body>
</html>