Page MenuHomePhabricator

librsvg ignores functional URLs that use single quotation marks
Open, Needs TriagePublicBUG REPORT

Description

Steps to Reproduce:
See https://commons.wikimedia.org/wiki/File:SVG_Gradient.svg.
The top row of rectangles all use rect elements with fill="url('#idgrad')".

Actual Results:

The top row of rectangles are rendered with the default black fill.

Expected Results:

The top row of rectangles should have gradient fills similar to the bottom left rectangle.

If I change the fills to url(#idgrad) (i.e., remove the single quotation marks from the functional url), then they work

Event Timeline

Glrx created this task.Jul 17 2019, 6:13 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 17 2019, 6:13 PM
Glrx updated the task description. (Show Details)Jul 17 2019, 6:15 PM
Glrx updated the task description. (Show Details)Jul 17 2019, 6:32 PM
Aklapper moved this task from Backlog to Patch merged upstream on the Upstream board.

This does not happen anymore in my local version of librsvg2-2.45.6