Closed Bug 547062 Opened 15 years ago Closed 15 years ago

Implement restrictions on clipPath content

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a3

People

(Reporter: roc, Assigned: longsonr)

References

Details

Attachments

(1 file, 2 obsolete files)

http://www.w3.org/TR/SVG/masking.html#EstablishingANewClippingPath A 'clipPath' element can contain 'path' elements, 'text' elements, basic shapes (such as 'circle') or a 'use' element. 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). We don't implement these restrictions, but we should.
Attached patch patch (obsolete) — Splinter Review
(In reply to comment #0) > > We don't implement these restrictions, but we should. We will when this lands :-)
Assignee: nobody → longsonr
Attachment #429394 - Flags: review?(roc)
Comment on attachment 429394 [details] [diff] [review] patch Excellent! Could you add a test for the <use> restrictions?
Attachment #429394 - Flags: review?(roc) → review+
Attached patch with use reftest (obsolete) — Splinter Review
Attachment #429394 - Attachment is obsolete: true
Attachment #429432 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a3
Depends on: 553053
Depends on: 1165750
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: