Last modified: 2012-10-26 09:27:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19174, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17174 - SVG rendering: stacked tspan elements rendered in incorrect order
SVG rendering: stacked tspan elements rendered in incorrect order
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 22698 24349 (view as bug list)
Depends on:
Blocks: svg
  Show dependency treegraph
Reported: 2009-01-27 10:05 UTC by Fut.Perf.
Modified: 2012-10-26 09:27 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Fut.Perf. 2009-01-27 10:05:39 UTC
When a <text> element in SVG contains several <tspan> elements stacked within each other, the SVG renderer does not render them in correct order. The following SVG fragment:
 <text x="0" y="150" id="textelement">
  <tspan id="outer" style="fill:blue;stroke:none;">
   <tspan id="inner" style="fill:red;stroke:none;">
should display as "ABC DEF GHI", but instead displays as "ABC GHI DEF". See error report at Wikimedia Commons [ here], and test on en-wiki [ here].
Comment 1 River Tarnell 2009-01-27 10:17:03 UTC
MediaWiki doesn't render SVGs.  this would be an rsvg bug.
Comment 2 Fut.Perf. 2009-01-27 11:08:36 UTC
Where would I report that then?
Comment 3 Fut.Perf. 2009-01-27 14:37:30 UTC
Okay, can anybody confirm what version of rsvg we are currently using at The rsvg 2.18.2 I downloaded on my local computer didn't reproduce the bug.
Comment 4 Brion Vibber 2009-08-03 16:53:52 UTC
Assigning SVG bugs to Ariel -- need a cleanup pass to see what's fixed up by a librsvg upgrade, what can be resolved with fixes to our font configuration, what can be fixed on our end, and what still needs to be pushed upstream.
Comment 5 84user 2010-06-12 22:40:53 UTC
To test whether the svg renderer has changed from when this bug was reported I have today re-uploaded as but it seems it still renders incorrectly.
Comment 6 Derk-Jan Hartman 2010-11-04 04:26:36 UTC
*** Bug 22698 has been marked as a duplicate of this bug. ***
Comment 7 Derk-Jan Hartman 2010-11-04 04:30:56 UTC
*** Bug 24349 has been marked as a duplicate of this bug. ***
Comment 8 Martin von Gagern 2010-11-04 10:41:48 UTC
Upstream bug has a patch by me.
Comment 9 Ariel T. Glenn 2011-09-18 09:28:20 UTC
giving SVG bugs back to the pool.
Comment 10 Derk-Jan Hartman 2011-12-04 13:25:37 UTC
patch applied upstream.
Comment 11 Derk-Jan Hartman 2011-12-04 21:42:43 UTC
Either the patch is not in our recent update of librsvg yet, or the patch does not fix the issue in the report, because the test image still shows the problem.
Comment 12 Brion Vibber 2011-12-04 22:37:55 UTC
The patch has not been deployed on our servers, nor is it yet in a release version. (It's in upstream git master.)
Comment 13 Derk-Jan Hartman 2012-10-26 09:27:00 UTC
This issue is fixed now. Testcase is rendered correctly.

Note You need to log in before you can comment on or make changes to this bug.