Files
servo/tests/wpt/css-tests/css21_dev/html4/first-line-selector-010.htm

22 lines
812 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: First-line after a BR</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">
<meta name="flags" content="">
<meta name="assert" content="The :first-line pseudo-element start tag is inserted right after the start tag of the block element.">
<style type="text/css">
div:first-line
{
color: red;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div>
<br>Filler Text
</div>
</body>
</html>