Build Menu API allowing to specify target (anchor)

NEW
Unassigned

Status

()

Firefox
Developer Tools: Framework
--
enhancement
2 years ago
a year ago

People

(Reporter: Honza, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
HTML Menu API introduced in bug 1257613 should allow to specify target (anchor) for popup menus. Just like it was possible for XUL menus see: 
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Method/openPopup

This is a follow up for bug 1266419

Honza
This shouldn't be added to the Menu API directly, so we can match as closely as possible to the Electron spec.  We could add a wrapper for the API that calls into it though.
Severity: normal → enhancement
Blocks: 1284245
You need to log in before you can comment on or make changes to this bug.