feat!: note about masks and native elements as ancestors of svg

BREAKING CHANGE
This commit is contained in:
Mikael Sand
2020-01-04 07:30:52 +02:00
parent ebc7220f4d
commit db76e6f22c

View File

@@ -1069,6 +1069,11 @@ Code explanation: <https://www.w3.org/TR/SVG11/masking.html#MaskElement>
![Mask](https://www.w3.org/TR/SVG11/images/masking/mask01.svg)
v10 adds experimental support for using masks together with native elements.
If you had native elements inside any Svg root before (which was unsupported),
Then your content might change appearance when upgrading,
as e.g. transforms and masks now take effect.
#### Pattern
A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using a pattern element and then referenced by properties fill and stroke on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern.