W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

Re: Bug reports: path, line & zoom

From: Charles McCathieNevile <chaals@opera.com>
Date: Tue, 17 Oct 2006 21:15:21 +0900
To: Irene.Vatton@inrialpes.fr, "Jonathan Chetwynd" <j.chetwynd@btinternet.com>
Cc: www-amaya@w3.org
Message-ID: <op.thkezvlcwxe0ny@widsith.local>

On Tue, 17 Oct 2006 18:28:33 +0900, Irene Vatton  
<Irene.Vatton@inrialpes.fr> wrote:

>
> On Tuesday 17 October 2006 11:04, Jonathan Chetwynd wrote:
>> you failed to comment on the crayon example.
>
> This problem shows that in Amaya the CSS stroke-width property is not  
> altered
> by SVG transformations. It seems that browsers generate the SVG image and
> then transform it.
> Who is right?

The browsers who apply the transformation. The properties are supposed to  
be affected by transformations. http://www.w3.org/TR/SVG11/coords.html  
says that they affect the coordinate space, and the properties are applied  
relative to the coordinate space.

[[[
The transform and viewBox attributes transform user space coordinates and  
lengths on sibling attributes on the given element (see effect of the  
transform attribute on sibling attributes and effect of the viewBox  
attribute on sibling attributes) and all of its descendants
]]] - http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace

(lengths from CSS properties, such as stroke-width, are included here).

The example http://www.w3.org/TR/SVG11/images/coords/RotateScale.svg in  
the spec explicitly demonstrates this for stroke-width.

Cheers

Chaals

-- 
   Charles McCathieNevile, Opera Software: Standards Group
   hablo español  -  je parle français  -  jeg lærer norsk
chaals@opera.com          Try Opera 9 now! http://opera.com
Received on Tuesday, 17 October 2006 12:15:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:37 UTC