zakariachowdhury / androidsvg

Automatically exported from code.google.com/p/androidsvg
0 stars 0 forks source link

ACID SVG test update #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Looks like ACID SVG test was updated and now androidsvg cant render it correctly

Original issue reported on code.google.com by step.8...@gmail.com on 27 Aug 2013 at 8:25

GoogleCodeExporter commented 9 years ago
Thanks for the report.

The Acid1 test hasn't changed.  However, as noted on the [SVG implementation 
details] page, I had to slightly modify the acid1.svg file for our tests.

I made two small changes to do with CSS support.  The mini CSS implementation I 
wrote is not bad for its size, but it doesn't support two things that acid1.svg 
uses.

(1) AndroidSVG doesn't support external CSS stylesheets, so I inlined the 
acid1.css file it uses, and
(2) we don't support attribute selectors properly, so the following CSS rule 
was changes to an inline style (ie. "fill: green"):

circle[cx="-120"][cy="-22.5%"][r="2%"] {
  fill: green;
}

Some might consider this cheating, but I think most people would prefer the 
smaller library size over a full CSS implementation.  The fact that I made 
these changes has always been stated on the [SVG imlementation details] page.

So that others can verify for themselves, I have made my modified Acid1 test 
file available on the downloads page.  See 
http://code.google.com/p/androidsvg/downloads/list

Marking "Wont fix".

Original comment by paul.leb...@gmail.com on 28 Aug 2013 at 2:54