Re: question on spec

Hi Jon,

A different question (on the same part of the spec):

Consider the example

<svg xmlns="http://www.w3.org/2000/svg" width="400" height="300">
   <g transform="scale(2)">
      <rect x="25%" y="25%" width="50%" height="50%" fill="green"/>
   </g>
</svg>

Should the green rectangle be a box in the center of the viewport, 
one-quarter its size, or should it be the same size as the viewport, with 
its upper-left corner in the center?

The spec indicates (if I understand it properly) it should be the former, 
since percentage measures are calculated relative to the dimensions of the 
nearest viewport (SVG 7.10), ignoring the transform on the <g> element. But 
both the Adobe and Batik viewers render it as the latter.

How are percentages to be calculated? If either viewer followed the spec, 
I'd say the other was wrong....

Cheers,
Wendell


======================================================================
Wendell Piez                            mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Received on Wednesday, 27 June 2001 18:50:17 UTC