blob: 4e3614fb933ca48c7ae3fc5cb6a0bb7f2f7d9698 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Width of non-replaced inline element should be the same as its content</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-width-property">
<meta name="flags" content="">
<meta name="assert" content="Content width of a non-replaced inline element is that of the rendered content.">
<style type="text/css">
span
{
border-right: 5px solid black;
border-left: 5px solid black;
}
</style>
</head>
<body>
<p>Test passes if the left and right borders start and end where the 'Filler Text' does.</p>
<div>
<span>Filler Text Filler Text Filler Text Filler Text</span>
</div>
</body>
</html>