Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
The targetY attribute determines the positioning in vertical direction of the convolution matrix relative to a given target pixel in the input image. The topmost row of the matrix is row number zero. The value must be such that: 0 <= targetY < y of order.
You can use this attribute with the following SVG elements:
| <integer> |
| floor(y of order / 2) |
| Yes |
This value indicates the positioning in vertical direction of the convolution matrix relative to a given target pixel in the input image.
| Filter Effects Module Level 1 # element-attrdef-feconvolvematrix-targety |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 12, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.