<!DOCTYPE html>
<meta charset="UTF-8">
<style>
#arabic {
direction: rtl;
}
#cyrillic {
word-break: break-word;
white-space: pre-line;
font-family: Arial;
}
div {
line-height: 20px;
border: 1px solid black;
display: inline-block;
}
</style>
<p>Following paragraphs should not wrap.</p>
<div id="arabic" style="word-break: break-all" data-expected-height=22>اب و عدم وابستگی.</div>
<div id="cyrillic" data-expected-height=22>Договор</div>
<script src="../../../resources/check-layout.js"></script>
<script>checkLayout("div");</script>