Closed Bug 519912 Opened 15 years ago Closed 15 years ago

Arrows don't appear in SVG image on straight lines

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: chris.sherlock79, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) The SVG image on Wikipedia doesn't show arrows on the straight line. The Mediawiki SVG to PNG renderer shows what it should look like. See http://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Ssl_handshake_with_two_way_authentication_with_certificates.svg/1949px-Ssl_handshake_with_two_way_authentication_with_certificates.svg.png Any ideas why this is the case? The SVG displays the arrows in InkScape. Reproducible: Always
Please provide a minimal testcase. I'm afraid the example is far too big to debug.
Component: General → SVG
QA Contact: general → general
I'm not really skilled enough in SVG to give a reduced test case. Is there anyone out there who can do this?
Firefox has the correct rendering, I believe, and it renders the same in Batik. The marker for the arrowheads that aren't rendering is #Arrow2Lend. It just has <path> on it, with no 'fill' property. However, the root SVG element has class="st24", and the style sheet in the document has a rule for .st24 that sets fill to 'none'. So the marker isn't painting the fill of its path. librsvg, or whatever it is that MedaiWiki is using, must not be applying the rules in the <style>. The document renders just fine without it.
Whoa... sorry fellas. I followed Cameron's suggestion, and that's fixed it. I'll close this bug as INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Resolution: FIXED → INVALID
You need to log in before you can comment on or make changes to this bug.