2013/10/30 Jelle Mulder <pjmulder@...353...>:
Krzysztof,
<svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
This actually is valid SVG and can be quite useful for web design (I would use only one direction BTW). I always found it a pity Inkscape does so little with % as part of the beauty of SVG is the use of such values for scaling of objects. I believe % are not accepted in Inkscape and setting the size of an object to 50% will just scale the object rather than make it set to 50% values.
The problem is that in a standalone SVG document (e.g. not a fragment), the outermost svg:svg element has nothing to which the percentage can refer. 100% of what exactly?
I read the specification, and it seems like this case is essentially undefined.
Better support for percentage units is an entirely different issue.
Regards, Krzysztof