- From: Doug Schepers <doug.schepers@vectoreal.com>
- Date: Wed, 14 Mar 2007 10:04:32 -0400
- To: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>
- Cc: SVG List <www-svg@w3.org>
Hi, Jonathan- ~:'' ありがとうございました。 wrote: > > <g x="10" y="20"> > > What is the rationale or reason for the WG decision that x and y > attributes unlike many others, are not attributable to a group, and > therefore cannot be inherited** > in my example I specifically limited myself to these two attributes. I wasn't there at the time, but I may be able to answer this (as me, not for the SVG WG). First, x & y never inherit. They are geometric properties of a shape. Second, a group does not have intrinsic geometry, so it does not have an x or y. Third, the idea was to allow a larger range of consistent and additive transformations of the coordinate space (thus changing the appearance of the geometry). I think it was in the same spirit as some aspects of CSS (akin to presentation vs. content). I admit that it's not always as convenient as I'd like, since for drag operations and such, you have to parse them out of a string, or use the CTM. But neither do I think it particularly hampers the author, as 'translate(x,y)' is effectively the same thing for most purposes as x & y attributes (except that it does inherit, which is the desired behavior). Am I missing your use case? Regards- -Doug Research and Standards Engineer 6th Sense Analytics www.6thsenseanalytics.com mobile: 919.824.5482
Received on Wednesday, 14 March 2007 14:04:56 UTC