- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 14 Aug 2006 15:46:04 -0700
- To: "Ian Hickson" <ian@hixie.ch>, "Aaron Reed" <aaronr@us.ibm.com>
- Cc: dev-tech-xbl@lists.mozilla.org, public-appformats@w3.org
On Mon, 14 Aug 2006 15:27:43 -0700, Ian Hickson <ian@hixie.ch> wrote: >> I have an XBL binding containing anonymous content that I use for >> <foo:bar/>. However, foo:bar is in a .xhtml document that has @title >> specified on the xhtml:xhtml element. I'd like to manage my own >> tooltips and not have Mozilla popup my tooltip along with the xhtml >> title tooltip. Is there a way I can style the xhtml title tooltip not >> to display if I'm going to display my tooltip or in some other way turn >> off the title tooltip when the mouse is over my foo:bar >> element/anonymous content? > > You can use the new title="" attribute on the <xbl:div> element: > > <template> > <div title=""> > ...rest of template here... > </div> > </template> > > Assuming you style the <div> to exactly overlap the bound element, that > will stop tooltips from the bound element from rendering. You can then do > whatever you like with your shadow tree to get tooltips. Seems like a valid use case for having title=""... You can disregard my earlier comment on public-appformats@w3.org. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Monday, 14 August 2006 22:46:51 UTC