Bug 290170
| Summary: | Open details tag if summary is targeted by ID | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | nils.reibold |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bfulgham, ntim, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 18 | ||
nils.reibold
In chrome if you have a closed details tag and your url anchor targets the ID of its summary element, the details tag will be opened (on page load / hashchange). It would be nice to see this behaviour in Safari as well.
Using: test.html#test
<details>
<summary id="test">Test open by ID</summary>
<div>
I will be open
</div>
</details>
<details>
<summary>Test closed</summary>
<div>
I will be closed
</div>
</details>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/148094075>
Tim Nguyen (:ntim)
This is basically the feature that bug 228843 implements.
*** This bug has been marked as a duplicate of bug 228843 ***