Skip to content

Commit

Permalink
Update README: Sytlesheet caveat re: #116
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras committed Sep 10, 2024
1 parent 02d27ff commit aaa30a8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ The supported SVG profile includes the parts of
[SVG Tiny 1.2](https://www.w3.org/TR/2008/REC-SVGTiny12-20081222/)
that are applicable to static images, plus a healthy subset of
[SVG 1.1](https://www.w3.org/TR/2011/REC-SVG11-20110816/). In-line
Cascading style sheets (CSS) are supported, via the `<style>` tag.
In addition to SVG, [Android Vector Drawable](https://developer.android.com/guide/topics/graphics/vector-drawable-resources) files
Cascading style sheets (CSS) are supported with limitations, via
the `<style>` tag. In addition to SVG,
[Android Vector Drawable](https://developer.android.com/guide/topics/graphics/vector-drawable-resources) files
are supported. A widget for displaying these scalable images is provided.
SVG assets can be modified with a DOM interface in order to produce
animation.
Expand Down Expand Up @@ -157,6 +158,10 @@ attributes.
* The pattern element is not supported (Not in Tiny; cf. SVG 13.3).
* The `style` tag for inline CSS and the `style=` attribute are
supported to specify node attributes (not in Tiny - cf. s. 6.2).
* However, contrary to the SVG specification, node attributes take
precedence over stylesheet attributes (see
<a href="https://github.com/zathras/jovial_svg/issues/116">Issue
116</a>.
* CSS attributes that don't have a corresponding SVG attribute generally
are not supported, e.g. `background` and `transform-origin` are not.
* Non-scaling stroke is not supported (not in SVG 1.1; cf. Tiny 11.5)
Expand Down

0 comments on commit aaa30a8

Please sign in to comment.