Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-writing-modes/bidi-plaintext-br-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>unicode-bidi: plaintext with forced breaks inside an inline element</title>
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#valdef-unicode-bidi-plaintext">
<link rel="match" href="reference/bidi-plaintext-br-002-ref.html">
<meta name="assert" content="Each line after a forced break inside an inline element takes its direction from the first strong character after the break.">
<style>
div {
width: 10ch;
unicode-bidi: plaintext;
}
</style>
<div><span>a<br>א</span></div>
<div><span><span>a<br>א</span></span></div>
<div><span>א<br>a</span></div>
<div><span><span>א<br>a</span></span></div>