[Webkit-unassigned] [Bug 272047] New: Web Inspector: DOM tree view Cmd-F search unexpectedly changes text displayed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 2 12:24:12 PDT 2024


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

            Bug ID: 272047
           Summary: Web Inspector: DOM tree view Cmd-F search unexpectedly
                    changes text displayed
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: qianlangchen at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 470731

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

Video demo: "ab ac" becomes "b ac" after a mere Cmd-F search

Let's say you have the following element in your document:
    <div>ab ac</div>

1. Open inspector's Elements tab
2. Press Command-F
3. Type a
   - See that both "a"s are highlighted yellow (looks like "[a]b [a]c"), which is correct
4. Type c
   - See that the first "a" unexpectedly disappeared and highlight becomes "b [ac]"
   - The expected behavior should be that "ac" gets highlighted and the first "a" that was highlighted shouldn't be removed (looks like "ab [ac]")

See attached for a video demo.

-- 
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/20240402/93ed5f55/attachment.htm>


More information about the webkit-unassigned mailing list