Bug 254800

Summary: AX: Expand <details> <summary> disclosure element when it containes searched text
Product: WebKit Reporter: Florian Schroiff <florian>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: All   
OS: All   
URL: https://www.scottohara.me/blog/2022/09/12/details-summary.html#special-find-in-page-behavior
Attachments:
Description Flags
Screenshot of Safari only finding two instances of "heyo"
none
Screenshot of Safari only finding two instances of "heyo"
none
Screenshot of Chrome finding three instances of "heyo" none

Florian Schroiff
Reported 2023-03-31 00:13:06 PDT
Created attachment 465697 [details] Screenshot of Safari only finding two instances of "heyo" Text contained in a closed details element does not get found when using find-in-page in Safari. Please adopt the behavior of Chromium browsers where details elements expand when they contain searched text. The found matches count also reflects text hidden in closed details elements in Chromium. See: https://www.scottohara.me/blog/2022/09/12/details-summary.html#special-find-in-page-behavior (contains an interactive example!)
Attachments
Screenshot of Safari only finding two instances of "heyo" (96.65 KB, image/png)
2023-03-31 00:13 PDT, Florian Schroiff
no flags
Screenshot of Safari only finding two instances of "heyo" (96.65 KB, image/png)
2023-03-31 00:13 PDT, Florian Schroiff
no flags
Screenshot of Chrome finding three instances of "heyo" (125.77 KB, image/png)
2023-03-31 00:14 PDT, Florian Schroiff
no flags
Florian Schroiff
Comment 1 2023-03-31 00:13:47 PDT
Created attachment 465698 [details] Screenshot of Safari only finding two instances of "heyo"
Florian Schroiff
Comment 2 2023-03-31 00:14:29 PDT
Created attachment 465699 [details] Screenshot of Chrome finding three instances of "heyo"
Radar WebKit Bug Importer
Comment 3 2023-04-07 00:14:16 PDT
Note You need to log in before you can comment on or make changes to this bug.