Presentation attributes (fill, stroke) of <defs> not inherited by child elements of <mask>
Bug #1346677 reported by
Hoj
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I'm not sure it's bug, but report it.
In Google Chrome or Internet Explorer, attached SVG file is shown like attached ie.png file.
When I import it to Inkscape (0.48.4, 0.48.5 and 0.91pre1) Inkscape misses some elements like attached imported.png file.
Platform is Windows 8.1 x64.
tags: | added: masking |
summary: |
- Some missing element with importing svg + Presentation attributes (fill, stroke) of <defs> not inherited by child + elements of <mask> |
To post a comment you must log in.
Diff:
$ diff -u BloodCat.svg BloodCat- inkscape- compatible. svg inkscape- compatible. svg 2014-07-22 10:45:56.000000000 +0200 www.w3. org/2000/ svg" xmlns:xlink="http:// www.w3. org/1999/ xlink" width="255" height="380" viewBox="0 0 255 380" stroke-width="8"> "scale( .3), translate(424, 4)"> "scale( .3) translate(424, 4)"> "translate( 0, 263)"> "translate( -412, 440)"> "#beardD" transform= "rotate( -10),translate( 0, 41)"/> "#beardD" transform= "rotate( -20),translate( -10, 82)"/> "#beardD" transform= "rotate( -10) translate(0, 41)"/> "#beardD" transform= "rotate( -20) translate(-10, 82)"/> "scale( -1,1)"/ >
--- BloodCat.svg 2014-07-22 02:30:42.000000000 +0200
+++ BloodCat-
@@ -2,19 +2,19 @@
<svg xmlns="http://
<defs fill="#fff" stroke="#fff">
<mask id="mTongue">
- <path d="M27 10c-30 130 116 130 86 0" stroke="#000"/>
+ <path d="M27 10c-30 130 116 130 86 0" stroke="#000" fill="#fff"/>
</mask>
<mask id="mBody">
- <polygon points="-210,0 -280,404 280,404 210,0"/>
+ <polygon points="-210,0 -280,404 280,404 210,0" fill="#fff"/>
</mask>
<mask id="mFoot">
- <polygon points="-200,0 -200,-300 200,-300 200,0"/>
+ <polygon points="-200,0 -200,-300 200,-300 200,0" fill="#fff"/>
</mask>
<mask id="mFootline">
- <ellipse cx="0" cy="-100" rx="95" ry="120"/>
+ <ellipse cx="0" cy="-100" rx="95" ry="120" fill="#fff"/>
</mask>
</defs>
- <g fill="#000" stroke="#000" transform=
+ <g fill="#000" stroke="#000" transform=
<g id="ear" transform=
<path d="M-420 0c0-350 160-350 350 0" fill="#d50c0f"/>
<path d="M-420 0c0-350 160-350 290 0"/>
@@ -54,10 +54,10 @@
</g>
<g id="beard" transform=
<path id="beardD" d="M0 0q50-12 80-6"/>
- <use xlink:href=
- <use xlink:href=
+ <use xlink:href=
+ <use xlink:href=
</g>
<use xlink:href="#beard" transform=
</g>
</g>
-</svg>
\ No newline at end of file
+</svg>