Truly independent web browser
<!doctype html>
<html class="reftest-wait">
<meta charset="utf-8">
<link rel="match" href="../expected/line-clamp-internal-soft-wrap-bidi-ref.html">
<style>
@font-face { font-family: Test; src: url("wpt-import/fonts/mplus-1p-regular.woff"); }
body { margin: 0; font: 24px/36px Test; }
.case { line-clamp: 1; word-break: break-all; overflow: hidden; margin-bottom: 4px; background: #eee; }
</style>
<div class="case" style="width: 80px">(אבְגדְהוְזחְ(אבְגדְהוְזחְ(אבְגדְהוְזחְ</div>
<div class="case" style="width: 120px">(אבְגדְהוְזחְ(אבְגדְהוְזחְ(אבְגדְהוְזחְ</div>
<div class="case" style="width: 160px">(אבְגדְהוְזחְ(אבְגדְהוְזחְ(אבְגדְהוְזחְ</div>
<script>
document.fonts.ready.then(() => document.documentElement.classList.remove("reftest-wait"));
</script>