NEW247848
Making VisibleSelection operator== take base and extent into account
https://bugs.webkit.org/show_bug.cgi?id=247848
Summary Making VisibleSelection operator== take base and extent into account
Ahmad Saleem
Reported 2022-11-12 15:06:04 PST
Hi Team, While going through Blink Commits, I came across another interesting commit, which is something fixes long press text selections and dragging solution but it does not have any test case to validate the change. Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=193950 Webkit GitHub - https://github.com/WebKit/WebKit/blob/50b63f352a0727a36aea7b4f380235a1048ffe7e/Source/WebCore/editing/VisibleSelection.h#L166 Since it does not have test case, I cannot verify whether we are still breaking something or not but if it can fix some edge cases of text selection and dragging (as it claims) then I think it would be good to consider. Appreciate if someone can share insight into it. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-19 15:07:16 PST
Ahmad Saleem
Comment 2 2022-11-26 01:55:00 PST
After discussing with rniwa, it seems that landing this without test case would not be ideal scenario and I would try to find relevant testcase to see how it affects us but as of right now, I would focus on other. PR - https://github.com/WebKit/WebKit/pull/6563 Although we do have bugs around 'long press', 'drag', 'selection' and 'base and extent' in general. Thanks!
Note You need to log in before you can comment on or make changes to this bug.