Bug 308308
| Summary: | Popover light dismiss doesn't account for disabled command buttons | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Luke Warlow <lwarlow> |
| Component: | DOM | Assignee: | Luke Warlow <lwarlow> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | karlcow, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 26 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=308293 | ||
Luke Warlow
Popover light dismiss has special behaviour for buttons with commandfor, buttons with popovertarget and base selects. However the logic doesn't correctly exclude disabled command buttons leading to incorrect behaviour.
See https://jsfiddle.net/8bd9ezvh/ opening the popover and then clicking on the disabled command button should correctly dismiss the popover (like in chrome and firefox) but it doesn't. See that with the popovertarget button it does dismiss.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/59094
Radar WebKit Bug Importer
<rdar://problem/171358576>