Skip to content

Commit

Permalink
Fixing two broken (on Firefox) examples within SVG documentation (#28155
Browse files Browse the repository at this point in the history
)

* Fix broken example on feConvolveMatrix

The example uses deprecated "xlink:href", so the image is not shown (at least in Firefox). Changing to just "href" fixes the issue.

* Fix broken example on feBlend

Example uses deprecated "xlink:href", which does not display the linked image on Firefox. Changing to just "href" fixes the issue.
  • Loading branch information
rowan-carlsen committed Jul 24, 2023
1 parent a850860 commit 8c9dc1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/svg/element/feblend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This element implements the {{domxref("SVGFEBlendElement")}} interface.
</defs>

<image
xlink:href="mdn_logo_only_color.png"
href="mdn_logo_only_color.png"
x="10%"
y="10%"
width="80%"
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/element/feconvolvematrix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ This element implements the {{domxref("SVGFEConvolveMatrixElement")}} interface.
</defs>

<image
xlink:href="mdn.svg"
href="mdn.svg"
x="0"
y="0"
height="200"
Expand Down

0 comments on commit 8c9dc1f

Please sign in to comment.