Loading ...
Sorry, an error occurred while loading the content.

Re: Multiple unit types in an SVG image

Expand Messages
  • skatethere
    ... Nope, I only ever use px and %. I have no use for cm , etc. I could in theory use em for designs where getComputedTextLength() is of prime importance, but
    Message 1 of 2 , Oct 18, 2010
    • 0 Attachment
      --- In svg-developers@yahoogroups.com, "fyrd_svg" <adeveria@...> wrote:
      > Which leads me to the question I'd like to ask here: Have you
      > actually used/needed an SVG image where multiple units are used?
      > With perhaps a <rect width="3cm"/> and a <path/>? I don't count
      > percentages here, just everything else. If the use cases for this
      > are rare enough, I think I'll drop this option.

      Nope, I only ever use px and %. I have no use for "cm", etc. I could in theory use em for designs where getComputedTextLength() is of prime importance, but in practice, I don't do that.

      --kirby
    Your message has been successfully submitted and would be delivered to recipients shortly.