wpt / css / css-ruby / break-within-bases / no-break-opportunity-at-end.html

Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-ruby/break-within-bases/no-break-opportunity-at-end.html

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-ruby/#break-within">
<link rel="match" href="no-break-opportunity-at-end-ref.html">
<style>
div {
  width: 160px;
  font-size: 20px;
}
</style>

<body lang="ja">

<!-- The ruby fits in the first line, but we can not break
     the line at its end because of the following "。". -->
<div>
ここは<ruby>優先通行帯<rt>ゆうせんつうこうたい</ruby>。
</div>
</body>

/css/css-ruby/break-within-bases/no-break-opportunity-at-end-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<style>
div {
  font-size: 20px;
}
</style>

<body lang="ja">
<div>
ここは<ruby>優先通行<rt>ゆうせんつうこう</ruby><br><ruby>帯<rt>たい</ruby>。
</div>
</body>