From 573640b4b3b027616d846f851b58598c63ee8a0e Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Wed, 3 Jun 2026 18:44:53 +0200 Subject: [PATCH] [css-overflow-4] Base the ellipses bidi handling on the bidi paragraph Fixes the bidi handling of `text-overflow` and `block-ellipsis` ellipsis to depend on the base directionality of the bidi paragraph (as was resolved in #12617), rather than inherit the `direction` value from the block container. --- css-overflow-4/Overview.bs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/css-overflow-4/Overview.bs b/css-overflow-4/Overview.bs index 260683891551..8ff6dcc22ceb 100644 --- a/css-overflow-4/Overview.bs +++ b/css-overflow-4/Overview.bs @@ -473,11 +473,12 @@ ellipsing details For bidi purposes, the ellipsis and string values must be treated as if they were wrapped in an anonymous inline with ''unicode-bidi: isolate'' - which inherits ''direction'' from the block. + and with ''direction'' set to the [=bidi paragraph=]'s base directionality. text-overflow-string-006.html text-overflow-string-007.html + text-overflow-string-008.html @@ -884,8 +885,11 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property * The [=block overflow ellipsis=] is wrapped in an anonymous inline whose parent is the [=block container=]’s [=root inline box=]. - This inline is assigned ''unicode-bidi: isolate'' - and ''line-height: 0''. + This inline is assigned + ''line-height: 0'', + ''unicode-bidi: isolate'', + and a value of 'direction' corresponding + to the [=bidi paragraph=]'s base directionality. block-ellipsis-002.html