Prerequisites: A Hebrew font.

BR in inline ancestors

same

Test passes if the two boxes below look exactly the same.

בא‎ ih גד fg‏ 1. I like ה.
2. ה is great!
‏cd
וז
ba
‎טח
‭אב גד 1. I like ה. fg hi‬
‭ab cd 2. ה is great! וז חט‬

Assertion: 'A br element should separate paragraphs for the purposes of the Unicode bidirectional algorithm.' 'If an inline element is broken around a bidi paragraph boundary (e.g. if split by a block or forced paragraph break), then the bidi control codes corresponding to the end of the element are added before the interruption and the codes corresponding to the start of the element are added after it. (In other words, any embedding levels or overrides started by the element are closed at the paragraph break and reopened on the other side of it.)'

Next test
HTML5

bidi-html5-019
Result summary & related tests
Detailed results for this test