[css3-background] What does 'border-image-slice: <number>' mean for SVG?

http://dev.w3.org/csswg/css3-background/#border-image-slice says:
  # <number>
  #     Numbers represent pixels in the image (if the image is a
  #     raster image) or vector coordinates (if the image is a
  #     vector image). 

I'm not sure what "vector coordinates" are, for example in the case
of SVG.  I'm guessing that for SVG with a viewBox or with an
intrinsic size, this means that the image is drawn at its intrinsic
size and these "vector coordinates" are coordinates in the viewport
coordinate system.  (But if it has both a viewBox and height/width
attributes on the root, which win?  Is it CSS pixels on the root's
container, or the viewport coordinate system?)  It might be good to
clarify that, though.

But what happens if the SVG doesn't have an intrinsic size or
doesn't have a viewBox?  What size is the SVG drawn at in order to
determine the slices?

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla Corporation               http://www.mozilla.com/   𝄂

Received on Sunday, 11 September 2011 16:33:38 UTC