Files
servo/tests/wpt/css-tests/css21_dev/html4/first-letter-selector-020.htm

24 lines
943 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>CSS Test: First-letter and language specific letter combinations</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter">
<meta name="flags" content="may">
<meta name="assert" content="Some letter combinations in some languages may be considered part of the first-letter pseudo-element.">
<style type="text/css">
div
{
font-size: 50px;
}
div:first-letter
{
color: green;
}
</style>
</head>
<body>
<p>Test passes if both letters "ij" are green or if only the "i" is green.</p>
<div lang="nl">ijFiller Text</div>
</body>
</html>