On Sep 13, Jim Grandy wrote:
[snip]
> I guess the first question is what the impact of adopting DOM2 event
> targeting would be on existing code. Anyone want to investigate this?
This would require rewrite of most code which relies on mouse events.
Because we don't do event bubbling, we have this kind of situation:
<class name="mybutton" onclick="doSomething()"/>
Now the developer wants to add an icon to her button:
<mybutton><view resource="myicon"/></mybutton>
The button is broken -- if the user clicks on the icon, nothing happens.
If we adopted DOM2 event targeting, we'd also need bubbling. This would
break some apps, but fewer of them. That might be right change to make.
A
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev