Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: Applying color to elements split by bidi</title>
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
<meta name="assert" content="Color should be applied only to the part of the text it has been specified for, even after bidi has rearranged the words to be non-consecutive"/>
<style type="text/css"><![CDATA[
span {
color: blue;
}
]]></style>
</head>
<body>
<p>
Words 2 and 4 from left should be <span>blue</span>:
</p>
<p>abc <span>def &#1604;&#1610;&#1589;</span> &#1575;&#1601;&#1578;</p>
</body>
</html>