Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • librsvg librsvg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 221
    • Issues 221
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • librsvglibrsvg
  • Issues
  • #167

[BZ#784885] SVG slightly more complicated CSS style not working at all

Submitted by conrad_heimbold

Link to original bug (#784885)

Description

Created attachment 355477 SVG file with CSS rules that don't get applied in eog/gthumb, but work inside firefox/chromium

Neither gthumb nor eog correctly apply slightly more complicated internal CSS styles. The only CSS style which works is having a single (!) class or id, combining multiple components (e.g. .class1 .class2 { fill:blue } or #id123,.class1 { fill:red } or .class1 > .class2 { fill:yellow }) does not seem to work at all.

For an example, see the attachment.

  • Open it inside a browser with SVG support (Firefox, Chrome, Chromium, etc.), where it is working
  • Open it inside eog or gthumb, where it is not working (just a black picture), because eog or gthumb ignore the CSS definitions.

If you don't trust me, just inspect the SVG file - it's just a txt file.

You may ask yourself, why I even need that SVG feature? I don't want to have the styling information scattered around inside the SVG, this makes the SVG difficult to maintain and extremely BLOATED and GIANT. Inkscape already adds tons of scattered unnecessary text; Adobe Photoshop is even worse with its binary data!

Attachment 355477, "SVG file with CSS rules that don't get applied in eog/gthumb, but work inside firefox/chromium":
a2048.svg

Assignee
Assign to
Time tracking