Bug 1911589 [wpt PR 47457] - RubyLB: Fix a crash by RTL + zero-available-width + break-spaces, a=testonly

Automatic update from web-platform-tests
RubyLB: Fix a crash by RTL + zero-available-width + break-spaces

LineBreaker should not produce an empty LineInfo for ruby-base.

Bug: 352467338
Change-Id: Ifaa9f300ef9fa22e7697896d8434506f50257dc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5759423
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1337535}

--

wpt-commits: 45ad9b4f4b03b3b69c3e8f5945b65e6ce8ae9fce
wpt-pr: 47457
This commit is contained in:
Kent Tamura
2024-08-06 21:50:37 +00:00
committed by moz-wptsync-bot
parent 0efc334f7c
commit ae0dc1cc62

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<head>
<link rel="help" href="https://crbug.com/352467338">
<title>Zero available width + break-spaces</title>
<style>
body {
margin-right: 1000%;
}
span {
white-space-collapse: break-spaces;
}
</style>
</head>
<body dir="rtl">
<ruby><span>A A A</span><rt></rt></ruby>
</body>