Bug 252077 - [popover] Add stubs for the popover JS API
Summary: [popover] Add stubs for the popover JS API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
Depends on:
Blocks: 250171
  Show dependency treegraph
 
Reported: 2023-02-10 14:16 PST by Tim Nguyen (:ntim)
Modified: 2023-02-13 13:05 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2023-02-10 14:16:32 PST
```
[Exposed=Window]
interface HTMLElement : Element {
  // The popover API
  undefined showPopover();
  undefined hidePopover();
  undefined togglePopover(optional boolean force);
  [CEReactions] attribute DOMString? popover;
}
```

Also add a setting.
Comment 1 Radar WebKit Bug Importer 2023-02-13 04:22:37 PST
<rdar://problem/105388147>
Comment 2 Tim Nguyen (:ntim) 2023-02-13 04:31:56 PST
Pull request: https://github.com/WebKit/WebKit/pull/10030
Comment 3 EWS 2023-02-13 13:05:37 PST
Committed 260218@main (ccd8c7397dde): <https://commits.webkit.org/260218@main>

Reviewed commits have been landed. Closing PR #10030 and removing active labels.