Open Bug 1091930 Opened 11 years ago Updated 1 years ago

Make FormValidationHandler more generic in order to be used by chrome/content processes to open a panel at given coordinates

Categories

(Firefox :: General, defect)

36 Branch
x86
macOS
defect

Tracking

()

People

(Reporter: alexbardas, Unassigned)

References

Details

Attachments

(1 obsolete file)

Right now, it's basically impossible to open a panel menu from a content process and specify an anchor element. FormValidationHandler module achieves this functionality and we would need a more generic module that can be re-used by different parts. An example would be bug 1029889, where Drew also suggests this in bug 1029889 comment 16.
Blocks: 1029889
Summary: Make FormValidationHandler a generic ContentPanelHandler to be used by chrome and content processes to open a panel at given anchor coordinates → Make FormValidationHandler more generic in order to be used by chrome/content processes to open a panel at given coordinates
Felipe, what do you say about this change? Do you have anything else in mind?
Flags: needinfo?(felipc)
That sounds good, and I think Drew's proposal over in bug 1029889 looks nice. If you want to evaluate a different approach, in the past Markh had some WIP patches to make the platform-level popup code accept rects as anchors instead of just elements. This can be found in bug 873923
Flags: needinfo?(felipc)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
Attachment #9387027 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: