Page MenuHomePhabricator

In librsvg 2.44.10, SVG filter effects are much lighter
Open, Stalled, LowPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • The new render has a much lighter texture than the old render.

What should have happened instead?:

  • There should be no difference (other than a slightly larger file due to increased width).

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

JoKalliauer changed the task status from Open to Stalled.May 19 2023, 12:32 PM
JoKalliauer triaged this task as Low priority.
JoKalliauer added projects: Upstream, Commons, Thumbor.
JoKalliauer subscribed.

Capturing the two images just in case caches are purged.

20230508033209!Extended_two_cube_calendar_lighter.svg.png (121×121 px, 17 KB)

20230508033209!Extended_two_cube_calendar.svg.png (120×120 px, 15 KB)

Aklapper renamed this task from librsvg 2.44.10 causes a regression: SVG filter effects are much lighter to In librsvg 2.44.10, SVG filter effects are much lighter.May 19 2023, 1:38 PM

Screenshot_20230520_233556.png (628×1 px, 284 KB)

If I compare Chrome113 and Firefox113 the svg looks very different: (on Fedora38)

Screenshot from 2023-05-20 23-46-12.png (1×1 px, 832 KB)

@Cmglee : "Everyone" renders it differently, I think this an edge-case, where you have to dig down to the SVG 1.1 definitions to know who renders what correct, and maybe it is even undefined in the standards.

@Cmglee

  1. Could you provide a minimal (not) working example?
  2. Could you provide more details how it should look like according to the SVG 1.1 definitions and how it should look like according to the SVG 2.0 definitions?
  3. The SVG-file is invalid according to W3C-validator. Since error-management is afaik often on purpose not done according to the standard, therefore I would close this bug report as invalid.

A lot of the "Filter effect" tags Cmglee used changed programming languages into rust in 2.43.2.

Filter Effects definitions: https://www.w3.org/TR/filter-effects-1/