Source code
Revision control
Copy as Markdown
Other Tools
<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 ليص</span> افت</p>
</body>
</html>