Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/bidi/bidi-plaintext-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text test: bidi resolution with unicode-bidi:plaintext</title>
<link rel="match" href="reference/bidi-plaintext-001-ref.html">
<style>
.test {
font: 20px Arial, sans-serif;
margin: 10px;
border: 1px solid gray;
width: 10em;
unicode-bidi: plaintext;
}
</style>
<p>Alignment of text in both boxes should match:</p>
<div class="test">Hello World!<br>שלום עולם!</div>
<div class="test"><span>Hello World!<br>שלום עולם!</span></div>