Re: Experimenting with modifying CSS properties in code

2003-12-08 Thread Thomas DeWeese
Hi Cameron, Cameron McCormack wrote: I am playing around with changing the values in an element's StyleMap without having to modify the actual document to cause the update. I've written a method in SVGCSSEngine: One issue is that the following code will not work for short-hand properties (we

Experimenting with modifying CSS properties in code

2003-12-07 Thread Cameron McCormack
I am playing around with changing the values in an element's StyleMap without having to modify the actual document to cause the update. I've written a method in SVGCSSEngine: public void setProperty(CSSStylableElement elt, String property, String value) { try { StyleMap st