Re: [w3c/selection-api] Fix selection.modify() to use resolved text direction instead of inline base direction (PR #357)

johanneswilm left a comment (w3c/selection-api#357)

Call 2026-05-14:
> Selection API Issue 357 (Selection Modify): Sambamurthy Bandaru 
presented proposed changes for issue 357 regarding the "selection 
modify" function. The current specification incorrectly mandates mapping 
left and right directions based on paragraph direction, which fails to 
account for mixed bidirectional text; the proposed solution involves 
using resolved text direction based on the Unicode Bidirectional 
Algorithm. Olli Pettay indicated the changes seem correct and suggested 
verifying them to ensure browser interoperability.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/pull/357#issuecomment-4681238652
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/selection-api/pull/357/c4681238652@github.com>

Received on Thursday, 11 June 2026 13:47:21 UTC