Files
servo/tests/wpt/css-tests/css21_dev/html4/text-align-001.htm

22 lines
932 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Text-align set to 'left'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-text-align">
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop">
<meta name="flags" content="">
<meta name="assert" content="The 'text-align' property set to 'left' on a block element aligns the text to the left.">
<style type="text/css">
div
{
border: 1px solid blue;
text-align: left;
}
</style>
</head>
<body>
<p>Test passes if the words "Filler Text" below are aligned to the left, inside the blue box.</p>
<div>Filler Text</div>
</body>
</html>