Re: FF21: Why no scrollbars on SVG without explicit height?
Robert Longson <[email protected]> Wed, 5 Jun 2013 05:26:23 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Message-ID | <[email protected]> |
> Let me ask a slightly different question then. Is there a way I can create an SVG such that all of the image will be displayed, without clipping any of the image, and without having to explicitly set the viewport width or height? The problem I have, is if the SVG is being automatically generated, there is a lot of extra work to calculate the correct value for the height attribute. Yes, set all the co-ordinates to percentages. This will preclude you from using paths though as they can't have percentage co-ordinates. Robert.