Create Clip Group generates invalid SVG

Bug #1441152 reported by Ben Scholzen 'DASPRiD'
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned

Bug Description

When using the "Create Clip Group" feature, Inkscape generates invalid SVG code.

There is a <clipPath> with a <use> element in it. The <use> element points to a <g> element.

Per http://www.w3.org/TR/SVG/masking.html#EstablishingANewClippingPath

If a ‘use’ element is a child of a ‘clipPath’ element, it must directly reference ‘path’, ‘text’ or basic shape elements. Indirect references are an error (see Error processing).

Tested with Inkscape trunk rev. 14044

Context: "Create Clip Group" is a feature ported from ponyscape, and only available in trunk (merged with the experimental branch).

su_v (suv-lp)
tags: added: clipping svg
description: updated
su_v (suv-lp)
description: updated
Revision history for this message
su_v (suv-lp) wrote :

See also:
* Bug #1019159 “Clipping renders object invisible in browsers”
  https://bugs.launchpad.net/inkscape/+bug/1019159

Revision history for this message
su_v (suv-lp) wrote :

[ Updating bug status and importance based on discussion on irc ]

Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/-/issues/2237
Closed by: https://gitlab.com/nathanal

tags: added: bug-migration
Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.