percentage values in markerWidth/markerHeight

In trying to think of ways to rely on a resource document’s default
viewport size, I wondered about this:

  <svg xmlns="http://www.w3.org/2000/svg">
    <marker id="m" markerWidth="100%" markerHeight="100%">
      …
    </marker>
  </svg>

The lacuna value of markerUnits is “strokeWidth”, which says that a user
unit is equal in size to the referencing object’s stroke-width value,
but it doesn’t say what percentages resolve against.  Probably it makes
sense to resolve them against the stroke-width value too (so that 0.5 is
equivalent to 50%), rather than the <svg>‘s viewport size.

We should test/specify this.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Thursday, 12 March 2015 06:10:14 UTC