Also there is the problem about how to reference raphaël shapes for applying the style, i.e. how do you do .button {stroke: "red"} or #apple1 {...}. Perhaps using raphael Element's setData(), like b1.setData("class", "button") ?
Also, in GWT, I wonder how the css will be provided to the application. using <style>? retrieving css code from ajax ? using gwt CSSResource?
It is an interesting idea indeed, and I think it can be done, but first defining some directions (like above).
Regards
--
Sebastian Gurin <sgu...@softpoint.org>