Files
servo/tests/wpt/css-tests/css21_dev/html4/bidi-first-letter-005.htm

28 lines
941 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-letter and bidi-override - inherent rtl text</title>
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter">
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi">
<meta name="flags" content="">
<meta name="assert" content=":first-letter applied to inherent RTL text reordered with bidi-override should pick out the first logical letter">
<style type="text/css">
p.test {
font-size: 2em;
unicode-bidi: bidi-override;
direction:ltr;
}
p.test:first-letter {
color:blue;
}
</style>
</head>
<body>
<p>The א below should be blue.</p>
<p class="test">אבב</p>
</body>
</html>