Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • librsvg librsvg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 190
    • Issues 190
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • librsvglibrsvg
  • Issues
  • #92

Closed
Open
Created Aug 06, 2014 by Bugzilla@bugzilla-migration💬Reporter

[BZ#734365] overflow not hidden when rendering symbol or inner svg elements

Submitted by Giuseppe Bilotta

Link to original bug (#734365)

Description

Created attachment 282709 Symbol use / inner svg element clipping example

According to the SVG specification1, the default value of the overflow property of the elements that define new viewports (such as symbol elements on use, or inner svg elements) is hidden. The contents of these elements should therefore be clipped to the new viewport they defined (by default).

The example file places side by side a use of a symbol and an equivalent nested g > svg pair. In both cases, the path is fully visible and perfectly symmetric when displayed through librsvg, even though the left/top part of the path is partially outside of the symbol/svg viewport and should therefore be clipped (compare with the rendering in Firefox and Chromium).

Attachment 282709, "Symbol use / inner svg element clipping example":
symbol-use-example.svg

Assignee
Assign to
Time tracking