1

Closed

To Investigate: Support for custom tags

description

nope. it is not about xbl directly. there is already a nice working xbl schema at http://mozilla.doslash.org/xblschema/
 
it is more for custom elements. see the following
 
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<hbox>
   <button label="aButton" />
   <mycustomelement>
          <button label="anotherButton" />
   </mycustomelement>
   <myspecialbutton label="Button with special functionality created in XBL" />
</hbox>
</window>

all native xul-types, like button, box, etc. are written in xbl as well. thus you can also add your own xul elements, like the custom element in the example above. with the current implementation of your xul schema, you would get a warning when you insert such an element into your xul and it would not be in the intellisense.
 
that's what my change is for. :)
 
Is it clear now?
Closed Apr 21, 2009 at 7:35 PM by mlalevic
Added wiki page with schema extension instructions

comments