Tonny Kohar wrote:
Is there any relation between GVT and CSSStyleDeclaration? because trying to get CSSStyleDeclaration on SVGStylable.getStyle() will throws NullPointerException without loading GVT. But if GVT is loaded it is ok.
The issue is that the CSSEngine is not bootstrapped until we build the BridgeContext - in preparation for constructing the GVT. I also think we need some of the geometry information that GVT provides to handle some units (like percentages of viewport).
To put it a little clearer in general the CSSEngine is independent of the bridge/gvt, however the bridge/GVT packages currently provide the only implementation of some interfaces needed for the CSSEngine to function.
btw, bug #21919 can be closed due to CSS relative uri fixed (#21487), see my comment on bugzilla
Ok, thanks for the feedback, I am leaning towards keeping the current behavior as generally a null cssBase represents a serious bug and in that case I want Batik to die as quickly as possible rather than limping along generating bad URI's.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]