lewisje / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

issue with linearGradient with same ID #551

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Hi:

I have an HTML page with two inine SVGs. Both the SVGs are from the same 
source, the only difference is the stop-color for the linearGradient. The 
linearGradient tags have the same ID. When the SVGs are rendered in Firefox 
3.6.7 the second SVG takes on the gradient pattern of the first SVG. 

Is it incorrect for two linearGradients to have the same tag ID? I am using the 
latest release of svg.js.

File is attached.

Thanks.

Bala.

Original issue reported on code.google.com by kumthekar on 19 Sep 2010 at 10:16

Attachments:

GoogleCodeExporter commented 8 years ago
In HTML or SVG elements can not have the same ID. Marking bug as INVALID.

Original comment by bradneub...@gmail.com on 29 Sep 2010 at 5:14