Confirmed users
146
edits
Comrade693 (talk | contribs) (→IDL: Added nsIDOMRepetitionEvent) |
m (→XBL) |
||
Line 163: | Line 163: | ||
As a general rule of thumb (from Jonas Sicking), anonymous content can be done in XBL 1, but not implementation or event handlers. | As a general rule of thumb (from Jonas Sicking), anonymous content can be done in XBL 1, but not implementation or event handlers. | ||
XBL 2 | XBL 2 suffers from the same drawbacks. CSS properties (binding) can be overridden. HTML documents would have to include a processing instruction (<?xbl ?>) or the binding element. The other option, using DOM and calling addBinding(), can be undone via removeBinding(). | ||
=== DHTML Behaviors === | === DHTML Behaviors === |