Skip to content

Commit

Permalink
update header template comment to make mention of the empty data URI
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjam committed Jan 21, 2021
1 parent f0910ae commit ed6f9f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/govuk/components/header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
The <image> element is a valid SVG element. In SVG, you would specify
the URL of the image file with the xlink:href – as we don't reference an
image it has no effect. It's important to include the empty xlink:href
attribute as this prevents versions of IE which support SVG from
downloading the fallback image when they don't need to.
image it has no effect. It's important to include an empty data URI
as the xlink:href attribute as this prevents versions of IE which
support SVG from downloading the fallback image when they don't need to.
In other browsers <image> is synonymous for the <img> tag and will be
interpreted as such, displaying the fallback image. #}
Expand Down

0 comments on commit ed6f9f0

Please sign in to comment.