Skip to content

Commit

Permalink
Remove the mention about elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomek Wiszniewski committed Sep 9, 2015
1 parent c93002a commit 5cc0455
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ Tailor-cut for the web, but easy to implement in any programming language.

There is [a specification for dynamic parameters][svg-params] in the upcoming SVG 2.0. *parametric.svg* is backwards compatible with it – profiting from all its goodness, and bringing even more than that. We not only support dynamic parameters – but also logical and arithmetic relationships between them and geometry.

What does “backwards compatible” mean? In case someone views your graphic without a *parametric.svg* script or plugin, you can fall back to native SVG 2.0 parameters with pretty much the same markup.

SVG 2.0 isn't yet fully standardized and implemented. But *parametric.svg* is built upon existing, stable technologies – ready to be used today.

[svg-params]: http://www.w3.org/TR/SVGParamPrimer/ "SVG Parameters 1.0"
Expand All @@ -66,23 +64,15 @@ Usage
</svg>
```

Once you’ve set the `xmlns:parametric` attribute, you can use the namespace on attributes:
Once you’ve set the `xmlns:parametric` thing, you can use the namespace on attributes:

```xml
<circle
parametric:r="10 * factor"
r="50"
r="50"
/>
```

…and on elements:

```xml
<defs>
<parametric:ref param="factor" default="7" />
</defs>
```

### A note about HTML5 ###

HTML5 is not namespace-aware. Prefixing your parametric attribute or element with `parametric:` is enough – you don’t need to declare the `xmlns:parametric` thing beforehand.
Expand Down

0 comments on commit 5cc0455

Please sign in to comment.