[Webkit-unassigned] [Bug 6350] Selection shouldn't exclude collapsed whitespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 30 10:25:51 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=6350

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #4 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am able to reproduce this bug using attached test case in Safari 15.6 on macOS 12.5 and it shows offSet of 1 & 7 rather than 0 and 8.

*** Safari 15.6 on macOS 12.5 ***

body.firstChild.nodeValue: \n123456\n
anchor: [object Text], offset: 1
focus: [object Text], offset: 7

*** Chrome Canary 106 ***

body.firstChild.nodeValue: \n123456\n
anchor: [object Text], offset: 0
focus: [object Text], offset: 8

*** Firefox Nightly 105 ***

body.firstChild.nodeValue: \n123456\n
anchor: [object Text], offset: 0
focus: [object Text], offset: 8

________

I am not sure on web-spec but just wanted to share latest test results. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220730/3f0a74ae/attachment.htm>


More information about the webkit-unassigned mailing list