| Summary: | Fixed selectionEnd for TextArea with text end in newline | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> | ||||||
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED WORKSFORME | ||||||||
| Severity: | Normal | CC: | cdumez, karlcow, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | BrowserCompat, GoodFirstBug | ||||||
| Version: | Safari Technology Preview | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Ahmad Saleem
2023-09-03 15:31:04 PDT
Thanks Ahmad. That seems a low hanging fruit. Maybe there should be an additional WPT test for this. Created attachment 467541 [details] Test Case (outside of JSFiddle) It passes in Safari 16.6 without this merge as well. So I am going to close this bug and PR as well. https://github.com/WebKit/WebKit/pull/17391 JSFiddle messed up 'focus' and was showing me as failing but when I ran it locally, it was passing so no need to merge this. Created attachment 467545 [details]
testcase for textarea selection
The wrong test seems to have been uploaded.
Here a new test showing as Ahmad said that the result is correct and equivalent in the 3 browsers.
The failure for the JSFiddle is related to something else.
|