Bug 245937
| Summary: | SUMMARY element: click() for invisible SUMMARY should toggle DETAILS element. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
This is going to be another Blink Merge of below commit:
https://chromium.googlesource.com/chromium/src.git/+/c162ebcbfa71bfbdd8e3fdba2137c382f752b4b2
Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/833c22ec9c71357ef42a80896dd2cedcdbdc66f6/Source/WebCore/html/HTMLSummaryElement.cpp#L117
Test Case Failing - https://jsfiddle.net/ubyfk7qm/show
____
I will try to see, if I can make it happen, in case if it does not work, at least - now we will have bug with failing test case to fix.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
Committed 255073@main (19b515f06053): <https://commits.webkit.org/255073@main>
Reviewed commits have been landed. Closing PR #4908 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/100673432>
Ahmad Saleem
Just to update - this also led to "https://wpt.fyi/results/html/semantics/interactive-elements/the-summary-element/anchor-without-link.html?label=master&label=experimental&aligned&view=subtest&q=the-summary-element"
sub-test - "clicking on anchor without link, with embedded inline element should open details and not navigate." as PASS. So I'll take it. :-)