RESOLVED FIXED 272047
Web Inspector: DOM tree view Cmd-F search unexpectedly changes text displayed
https://bugs.webkit.org/show_bug.cgi?id=272047
Summary Web Inspector: DOM tree view Cmd-F search unexpectedly changes text displayed
Qianlang Chen
Reported 2024-04-02 12:24:12 PDT
Created attachment 470731 [details] 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.
Attachments
Video demo: "ab ac" becomes "b ac" after a mere Cmd-F search (314.05 KB, video/mp4)
2024-04-02 12:24 PDT, Qianlang Chen
no flags
HTML test case: Open and search "ac" in the Elements tab (72 bytes, text/html)
2024-04-02 12:30 PDT, Qianlang Chen
no flags
Radar WebKit Bug Importer
Comment 1 2024-04-02 12:24:28 PDT
Qianlang Chen
Comment 2 2024-04-02 12:30:06 PDT
Created attachment 470732 [details] HTML test case: Open and search "ac" in the Elements tab
EWS
Comment 3 2024-04-04 12:20:43 PDT
Committed 277073@main (0e3b3412203c): <https://commits.webkit.org/277073@main> Reviewed commits have been landed. Closing PR #26754 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.