Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/bidi-text/bidi-breaking-001.xht - WPT Dashboard Interop Dashboard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
<head>
<title>CSS Test: Bidi paragraph boundaries: Blocks</title>
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-12 -->
<link rel="match" href="bidi-breaking-001-ref.xht" />
<meta name="assert" content="Block boundaries break bidi paragraphs."/>
<style type="text/css"><![CDATA[
/* Make test easier to read */
.test, .control {
color: blue;
font: bold larger monospace;
margin: 1em;
padding: 0.25em;
border: solid silver;
float: left;
}
.set {
clear: both;
float: left;
border-bottom: solid orange;
}
p + .set {
border-top: solid orange;
}
/* ensure BDO processing */
bdo {
unicode-bidi: bidi-override;
direction: ltr;
}
]]></style>
</head>
<body>
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
<!--
א א is hebrew letter alef
ת ת is hebrew letter tav
-->
<!-- control for bidi support -->
<div class="set">
<div class="test">
<div>‏ + - × ÷ א</div>
<div>ת + - × ÷ ‏</div>
</div>
<div class="control">
<div><bdo dir="ltr">א ÷ × - + </bdo></div>
<div><bdo dir="ltr"> ÷ × - + ת</bdo></div>
</div>
</div>
<!-- sibling boxes -->
<div class="set">
<div class="test">
<div>א + - × ÷ </div>
<div> + - × ÷ ת</div>
</div>
<div class="control">
<div><bdo dir="ltr">א + - × ÷ </bdo></div>
<div><bdo dir="ltr"> + - × ÷ ת</bdo></div>
</div>
</div>
<!-- anonymous boxes -->
<div class="set">
<div class="test">
<div>א + - × ÷ </div>
+ - × ÷ ת
</div>
<div class="control">
<div><bdo dir="ltr">א + - × ÷ </bdo></div>
<div><bdo dir="ltr"> + - × ÷ ת</bdo></div>
</div>
</div>
<!-- anonymous boxes -->
<div class="set">
<div class="test">
א + - × ÷
<div></div>
+ - × ÷ ת
</div>
<div class="control">
<div><bdo dir="ltr">א + - × ÷ </bdo></div>
<div><bdo dir="ltr"> + - × ÷ ת</bdo></div>
</div>
</div>
<!--
PS 
 Paragraph separator
LS 
 Line separator
-->
</body>
</html>