For the context menu, it's easy to just use the contextmenu event from the Browser API and create a floating div; for popups used by elements like <select>, I haven't looked yet, but my plan is to do what Gaia does, and also use a div. I'm just not sure how to wire things together yet. For native menu, I don't know yet what to do. Maybe re-use the html5 menu element.
On Fri, Jun 12, 2015 at 5:34 PM, 罗勇刚(Yonggang Luo) <[email protected]> wrote: > What's the plan to support for menu and popup and tooltip things? > Is there any adaptable way to do that? > > 2015-06-08 18:51 GMT+08:00 Paul Rouget <[email protected]>: >> Right. Not supported yet. >> >> On Mon, Jun 8, 2015 at 11:13 AM, 罗勇刚(Yonggang Luo) >> <[email protected]> wrote: >>> I also found in pure html window, there is no way to add support for >>> context menu. >>> And also popup. >>> >>> 2015-06-08 12:17 GMT+08:00 Paul Rouget <[email protected]>: >>>> B2G on desktop only uses HTML. OS integration is poor, but we are working >>>> on it. >>>> See the larch branch (https://hg.mozilla.org/projects/larch). >>>> We are working on OS X support first. >>>> For session restore, see bug 1033999. >>>> >>>> On Fri, Jun 5, 2015 at 8:02 PM, 罗勇刚(Yonggang Luo) <[email protected]> >>>> wrote: >>>>> At the current time, pure html window doesn't support for >>>>> session and other things. Such >>>>> as setting the whole html's background to be transparent >>>>> with the operating system. >>>>> >>>>> If we want to remove XUL completely from Mozilla source tree, what's left >>>>> to do? >>>>> >>>>> >>>>> -- >>>>> 此致 >>>>> 礼 >>>>> 罗勇刚 >>>>> Yours >>>>> sincerely, >>>>> Yonggang Luo >>>>> _______________________________________________ >>>>> dev-platform mailing list >>>>> [email protected] >>>>> https://lists.mozilla.org/listinfo/dev-platform >>>> >>>> >>>> >>>> -- >>>> Paul >>> >>> >>> >>> -- >>> 此致 >>> 礼 >>> 罗勇刚 >>> Yours >>> sincerely, >>> Yonggang Luo >> >> >> >> -- >> Paul > > > > -- > 此致 > 礼 > 罗勇刚 > Yours > sincerely, > Yonggang Luo -- Paul _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

