Folks,

> This is a bug in getCssText(). I will fix it as soon as possible.

Thanks!

> > * The second problem is the quotaton marks around the font-family style
> > attribute.  Because the style attribute itself is written with quotes, the
> > attribute is no longer well formed.
>
> getCssText() is suitable for doing things like:
>
>   element.setAttributeNS(null, "style", styles.getCssText());
>
> But you can't write it directly in an XML file. Before you must replace
>   ' " < > &  by  &apos; &quot; &lt; &gt; &amp;

Is there an preferred mechanism for setting the properties of a style
attribute?

I had tried CSSStyleDeclaration.setProperty earlier, but once I passed the
node back, the property changes didn't seem to remain with the node.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to