Files
sousa-gecko/testing/web-platform/tests/css/css-ui/reference/text-overflow-string-007-ref.html
T
Minseong Kim a279d4aff4 Bug 2013815 [wpt PR 57478] - TextOverflow: Implement bidi text support for string values, a=testonly
Automatic update from web-platform-tests
TextOverflow: Implement bidi text support for string values

This CL modifies the ellipsis functionality to handle cases where the
ellipsis string value is bidirectional text. The `EllipsisShapeResult`
class has been introduced since bidi runs require multiple ShapeResult
objects along with their corresponding text and bidi levels.
Additionally, the `ellipsis_shape_results_` has been changed to a vector
to store these objects.

Bug: 41492459, 479257822
Change-Id: I2ad35a55e780b7842936fee5f811edab213eecf2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6817921
Reviewed-by: Andreu Botella <abotella@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Minseong Kim <jja08111@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1577949}

--

wpt-commits: 785a30987e90b2e4a278550dc5b332894eecab94
wpt-pr: 57478
2026-02-05 18:14:45 +00:00

24 lines
607 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Reference File</title>
<link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
font-family: monospace;
font-size: 10px;
width: 130px;
}
span.ahem {
font-family: Ahem;
font-size: 30px;
}
</style>
<body>
<p>Test passes if there is a "<strong dir="rtl">A ום</strong>" before a black rectangle below.</p>
<div dir="rtl">
<span class="ahem">ext</span><span dir="rtl">A ום</span>
</div>
</body>
</html>