README.md in prawn-svg-0.35.1 vs README.md in prawn-svg-0.36.0

- old
+ new

@@ -60,11 +60,11 @@ - `<path>` supports all commands defined in SVG 1.1, although the implementation of elliptical arc is a bit rough at the moment. - `<text>`, `<tspan>` and `<tref>` with attributes `x`, `y`, `dx`, `dy`, `rotate`, `textLength`, `lengthAdjust`, - and with extra properties `text-anchor`, `text-decoration` (underline only), `font-size`, `font-family`, + and with extra properties `text-anchor`, `text-decoration` (underline only), `font`, `font-size`, `font-family`, `font-weight`, `font-style`, `letter-spacing`, `dominant-baseline` (middle only) - `<svg>`, `<g>` and `<symbol>` - `<use>` @@ -78,17 +78,18 @@ - `<clipPath>` - `<marker>` - `<linearGradient>` and `<radialGradient>` are implemented on Prawn 2.2.0+ with attributes `gradientUnits` and - `gradientTransform` (`spreadMethod` and `stop-opacity` are unimplemented.) + `gradientTransform` - `<switch>` and `<foreignObject>`, although prawn-svg cannot handle any data that is not SVG so `<foreignObject>` tags are always ignored. - properties: `clip-path`, `color`, `display`, `fill`, `fill-opacity`, `fill-rule`, `opacity`, `overflow`, - `stroke`, `stroke-dasharray`, `stroke-linecap`, `stroke-linejoin`, `stroke-opacity`, `stroke-width` + `stroke`, `stroke-dasharray`, `stroke-linecap`, `stroke-linejoin`, `stroke-opacity`, `stroke-width`, + `visibility` - properties on lines, polylines, polygons and paths: `marker-end`, `marker-mid`, `marker-start` - attributes on all elements: `class`, `id`, `style`, `transform`, `xml:space` @@ -111,13 +112,9 @@ prawn-svg supports CSS, both in `<style>` blocks and `style` attributes. In CSS selectors you can use element names, IDs, classes, attributes (existence, `=`, `^=`, `$=`, `*=`, `~=`, `|=`) and all combinators (` `, `>`, `+`, `~`). The pseudo-classes `:first-child`, `:last-child` and `:nth-child(n)` (where n is a number) also work. - -Warning: Ruby versions less than 2.6.0 have a bug in the REXML XPath implementation which means under some -conditions the `+` combinator will not pick up all matching elements. See `stylesheets_spec.rb` for an -explanation if you're stuck on an old version of Ruby. Pseudo-elements and the other pseudo-classes are not supported. Specificity ordering is implemented, but `!important` is not. ## Not supported