Clipping path restrictions

Dear SVG WG,

in the SVG 1.1 specification I note the following restriction:

[[
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).
]]

Is there a justification for it? For instance, why wouldn't one be  
able to reference a <g> element? Is this due to transforms or some  
similar issue?

If there is a good reason for this restriction it would be nice to  
include it in the specification (things well understood being also  
well remembered) and if there isn't then removing it would likely be  
best.

Also, the description for what clip-rule does is, ahem, let us say  
somewhat cursory? Even a single sentence explaining what it does (as  
opposed to a couple of examples as to when it applies, and a  
reference to fill-rule) would be useful.

Thanks!

-- 
Robin Berjon - http://berjon.com/
------------------------------------------------------------------------
"Politics is the entertainment arm of Industry."
                         -- Zappa

Received on Friday, 15 December 2006 15:20:18 UTC