Javid Alimohideen wrote:
I came across this when i was trying to use clip path property.
Element temp;
temp.setAttributeNS(null, "clip-path", "url(#clipppingPath)");
The above does not work.
temp.setAttributeNS(null, "clippath", "url(#clipppingPath)");
The above one works.
It should be "clip-path" right? Please, correct me if i am wrong.
It should be 'clip-path', however can you re-run your test as
there are exactly zero instances of the string 'clippath' in the
Batik sources and everywhere I look I see people using the
proper string constant for 'clip-path'. Also all of our samples/tests
use 'clip-path' - although we may not be setting it dynamically
through the attribute (we do through style though). So I find
this hard to believe. If you find the problem persists please
send a small test case that shows the problem.
One thing in particular is that your 'clipppingPath' has 3 p's
perhaps this is why you thought clip-path wasn't working?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]