DOM/Web Forms 2.0: Difference between revisions

m
(→‎IDL: Added nsIDOMRepetitionEvent)
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 is a wild card here.  (Need elaboration.)
XBL 2 suffers from the same drawbacks.  CSS properties (binding) can be overridden.  HTML documents would have to include a processing instruction (&lt?xbl ?>) or the binding elementThe other option, using DOM and calling addBinding(), can be undone via removeBinding().


=== DHTML Behaviors ===
=== DHTML Behaviors ===
Confirmed users
146

edits