Every filter primitive accepts common attributes#41675
Conversation
Preview URLs (22 pages)
Flaws (23)Note! 4 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
(comment last updated: 2025-10-27 13:17:11) |
| - {{SVGAttr("in")}}: Values include `SourceGraphic`, `SourceAlpha`, `BackgroundImage`, `BackgroundAlpha`, `FillPaint`, `StrokePaint`, or a reference to another filter primitive. | ||
| - {{SVGAttr("type")}}: Values include `matrix`, `saturate`, `hueRotate`, and `luminanceToAlpha`. | ||
| - {{SVGAttr("values")}}: The value for the matrix type set in the `type` attribute. | ||
| - [Filter primitive attributes](/en-US/docs/Web/SVG/Reference/Attribute#filter_primitive_attributes_presentation_attributes): {{SVGAttr("x")}}, {{SVGAttr("y")}}, {{SVGAttr("width")}}, {{SVGAttr("height")}}, {{SVGAttr("result")}} |
There was a problem hiding this comment.
FWIW Fly by note different terminating full stop in this list for other options (I'd remove it from other list options)
bsmth
left a comment
There was a problem hiding this comment.
There's a comment there from Hamish about list formatting, but +1 from me on the rest 👍🏻
In preparation for #24169, we should document that filter primitives accept more attributes than what's listed here. We are still missing the global attributes, but that's a separate topic.
Also the three light source elements are not filter primitives, so removed words indicating that they are.