From 1e6ee37c9bac166c14298ca385833839edaa51b1 Mon Sep 17 00:00:00 2001 From: Samba Murthy Bandaru Date: Sun, 17 May 2026 22:59:57 -0700 Subject: [PATCH] Add WPT for Selection.modify() character movement in bidi text Tests to support the spec change PR - https://github.com/w3c/selection-api/pull/357/ Bug: 499819853 Change-Id: Ia827a90b9c12f64d04ea72cb2bee8f0535bedd6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7848414 Reviewed-by: Kent Tamura Reviewed-by: Pranav Modi Commit-Queue: Sambamurthy Bandaru Cr-Commit-Position: refs/heads/main@{#1631971} --- selection/bidi/move-by-character.html | 112 ++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 selection/bidi/move-by-character.html diff --git a/selection/bidi/move-by-character.html b/selection/bidi/move-by-character.html new file mode 100644 index 00000000000000..58b8ca79dbd400 --- /dev/null +++ b/selection/bidi/move-by-character.html @@ -0,0 +1,112 @@ + + +Selection.modify() character granularity in bidi text + + + + + +
+ +
Hello World
+ +
مرحبا عالم
+ +
אבגדהו
+ +
Hello World
+ +
Hello אבגדהו World
+ +
אבגדהו Hello World
+
+ +