[Webkit-unassigned] [Bug 251020] Update Position member variables in FrameSelection after Text::splitText()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 2 04:12:51 PST 2023


--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #0)
> Hi Team,
> While going through Blink's commit, I came across following failing test
> case in Safari 16.2 & STP161:
> Test Case - https://jsfiddle.net/cq243gao/show
> ^ Both Chrome Canary 111 and Firefox Nightly 111 passes this.
> Blink Commit -
> https://chromium.googlesource.com/chromium/blink/+/
> 247377b029a93bad78e778aa1e55127a69638384
> Don't know whether it is possible to merge 1-1 or Selection API changes will
> fix it or not but just wanted to raise it for tracking purposes.
> Thanks!

Just to update, I checked on WebKit Trunk (259707 at main), it still fails with Live Range and show following:

PASS selection.type is "Range"
FAIL selection.anchorNode should be [object Text]. Was [object Text].
FAIL selection.anchorOffset should be 3. Was 6.
FAIL selection.focusNode should be [object Text]. Was [object Text].
FAIL selection.focusOffset should be 6. Was 9.
FAIL selection.toString() should be baz. Was .
PASS successfullyParsed is true
Some tests failed.


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/20230202/a2c68a5f/attachment.htm>

More information about the webkit-unassigned mailing list