DOM/Web Forms 2.0: Difference between revisions

m
Line 164: Line 164:


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.  Most critically, any XBL2 binding can be undone via the removeBinding() method, and there is no apparent way in XBL2 to prevent the binding from falling off the bound element.
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.  Most critically, any XBL2 binding can be undone via the removeBinding() method, and there is no apparent way in XBL2 to prevent the binding from falling off the bound element.
Note we would reconsider in a heartbeat if there was some way to attach a binding in a way where it could not be detached, for any version of XBL.


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

edits