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

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

SVG_edge_case_-_zero_scale_gradient_Inkscape.png (96 × 96 pixels, file size: 412 bytes, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
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.

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

For more information, see Help:SVG.

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

[edit]
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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:04, 7 April 2021Thumbnail for version as of 18:04, 7 April 202196 × 96 (412 bytes)JoKalliauer2 (talk | contribs)pattypan 20.04

Metadata