[Webkit-unassigned] [Bug 266250] New: Custom Highlights API with wrong result on macOS Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 11 13:26:48 PST 2023


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

            Bug ID: 266250
           Summary: Custom Highlights API with wrong result on macOS
                    Safari
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: manuelroth at hotmail.ch

Created attachment 468987

  --> https://bugs.webkit.org/attachment.cgi?id=468987&action=review

Bug with custom highlights api

## Steps to reproduce:
- Open codepen on Safari on macOS 14.2: https://codepen.io/jensimmons/pen/vYbvrjq
- Enter the word "features" into the text field
- Make sure the word was entered character by character (not by copy pasting the entire word)
- Observe how single "f" characters are highlighted instead of only the word "feature"
- Other words

## Expected result: Only the word "features" is highlighted

## Actual result: Many single characters "f" in addition to the word "features" is highlighted

This behaviour can also be reproduced with other words such as constantly, twice, typical.

This issue can only be reproduced on desktop Safari and not on iOS

-- 
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/20231211/19104609/attachment-0001.htm>


More information about the webkit-unassigned mailing list