Skip to content

Commit

Permalink
Update usvg spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Jun 2, 2024
1 parent 6ea34aa commit 063e403
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/usvg/docs/spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ A group will have at least one of the attributes present.
Available only inside the <<clipPath-element,clipPath>>.
* `shape-rendering` = `optimizeSpeed | crispEdges`? +
Default: geometricPrecision
* `visibility` = `hidden | collapse`? +
* `visibility` = `hidden`? +
Default: visible
* `transform` = <<transform-type,<transform> >>? +
Can only be set on paths inside of `clipPath`.
Expand All @@ -337,7 +337,7 @@ A group will have at least one of the attributes present.
* `height` = <<positive-number-type,<positive-number> >>
* `image-rendering` = `optimizeSpeed`? +
Default: optimizeQuality
* `visibility` = `hidden | collapse`? +
* `visibility` = `hidden`? +
Default: visible

== Filter primitives
Expand All @@ -354,7 +354,7 @@ The attributes below are the same for all filter primitives.
* `height` = <<number-type,<number> >>?
* `result` = <<string-type,<string> >>

The `x`, `y`, `width` and `height` attributes can be omited.
The `x`, `y`, `width` and `height` attributes can be omitted.
SVG has a pretty complex
https://www.w3.org/TR/SVG11/filters.html#FilterPrimitiveSubRegion[rules of resolving them]
and I don't fully understand them yet.
Expand Down

0 comments on commit 063e403

Please sign in to comment.