[Webkit-unassigned] [Bug 23600] Selection.collapse does not work as expected on empty text nodes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 16 16:14:26 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=23600
Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahmad.saleem792 at gmail.com
--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Using attached test case:
*** Safari Technology Preview 160 ***
comparing point with <text>, offset 0:
FAILED: result = 1 expected 0
range:
startContainer: [object HTMLBodyElement]
startOffset: 0
endContainer: [object HTMLBodyElement]
endOffset: 0
selection:
anchorNode: [object HTMLBodyElement]
anchorOffset: 0
focusNode: [object HTMLBodyElement]
focusOffset: 0
*** Chrome Canary 110 & Firefox Nightly 110 ***
comparing point with <text>, offset 0:
PASSED: result = 0
range:
startContainer: [object Text]
startOffset: 0
endContainer: [object Text]
endOffset: 0
selection:
anchorNode: [object Text]
anchorOffset: 0
focusNode: [object Text]
focusOffset: 0
____
Just wanted to share updated test result. 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/20221217/c13d3458/attachment.htm>
More information about the webkit-unassigned
mailing list