File:SVG edge case - zero scale gradient librsvg.png

Summary

Description
English: The file contains three squares: A green square on top of a special square on top of a red square. The special square's fill is a linear gradient with gradientTransform="scale(0)"

As of January 2019:

  • Inkscape and Google Chrome render all three squares. The special square has a solid color (in this case yellow), which is the stop-color mentioned last in the gradient definition.
  • Wikimedia's SVG to PNG converter renders all three squares and applies the gradient without scaling.
  • Firefox doesn't render the special square unless the zero-scale-gradient has exactly one stop.
  • The Commons SVG Checker renders neither the special square nor anything that comes afterwards (i.e. it only renders the red square).
Date
Source
File:SVG edge case - zero scale gradient.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.Category:Vector version available

File:SVG edge case - zero scale gradient librsvg.png → File:SVG edge case - zero scale gradient.svg

For more information, see Help:SVG.

In other languages
Alemannisch  العربية  беларуская (тарашкевіца)  български  বাংলা  català  нохчийн  čeština  dansk  Deutsch  Ελληνικά  English  British English  Esperanto  español  eesti  euskara  فارسی  suomi  français  Frysk  galego  Alemannisch  עברית  हिन्दी  hrvatski  magyar  հայերեն  Bahasa Indonesia  Ido  italiano  日本語  ქართული  한국어  lietuvių  македонски  മലയാളം  Bahasa Melayu  မြန်မာဘာသာ  norsk bokmål  Plattdüütsch  Nederlands  norsk nynorsk  norsk  occitan  polski  prūsiskan  português  português do Brasil  română  русский  sicilianu  Scots  slovenčina  slovenščina  српски / srpski  svenska  தமிழ்  ไทย  Türkçe  татарча / tatarça  українська  vèneto  Tiếng Việt  中文  中文(中国大陆)  中文(简体)  中文(繁體)  中文(马来西亚)  中文(新加坡)  中文(臺灣)  +/−
New SVG image

Author TilmannR
SVG
InfoField
<?xml version="1.0" encoding="UTF-8"?>
<svg width="96" height="96" xmlns="http://www.w3.org/2000/svg">
	<linearGradient id="a" gradientTransform="scale(0)">
		<stop stop-color="#00f" offset="0"/>
		<stop stop-color="#ff0" offset="1"/>
	</linearGradient>
	<rect x="0"  y="0"  width="80" height="80" fill="#f40"/>
	<rect x="8"  y="8"  width="80" height="80" fill="url(#a)"/>
	<rect x="16" y="16" width="80" height="80" fill="#0f4"/>
</svg>

Licensing

This work is ineligible for copyright and therefore in the public domain because it consists entirely of information that is common property and contains no original authorship.
Category:PD ineligible#SVG%20edge%20case%20-%20zero%20scale%20gradient%20librsvg.png Category:Pictures demonstrating a librsvg bug Category:Pictures showing a rendersvg bug - test suite Category:Uploaded with pattypan
Category:PD ineligible Category:Pictures demonstrating a librsvg bug Category:Pictures showing a rendersvg bug - test suite Category:Uploaded with pattypan Category:Vector version available