Bug 254800 - AX: Expand <details> <summary> disclosure element when it containes searched text
Summary: AX: Expand <details> <summary> disclosure element when it containes searched ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 16
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://www.scottohara.me/blog/2022/0...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-31 00:13 PDT by Florian Schroiff
Modified: 2023-04-07 00:14 PDT (History)
1 user (show)

See Also:


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 Details
Screenshot of Safari only finding two instances of "heyo" (96.65 KB, image/png)
2023-03-31 00:13 PDT, Florian Schroiff
no flags Details
Screenshot of Chrome finding three instances of "heyo" (125.77 KB, image/png)
2023-03-31 00:14 PDT, Florian Schroiff
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schroiff 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!)
Comment 1 Florian Schroiff 2023-03-31 00:13:47 PDT
Created attachment 465698 [details]
Screenshot of Safari only finding two instances of "heyo"
Comment 2 Florian Schroiff 2023-03-31 00:14:29 PDT
Created attachment 465699 [details]
Screenshot of Chrome finding three instances of "heyo"
Comment 3 Radar WebKit Bug Importer 2023-04-07 00:14:16 PDT
<rdar://problem/107745231>