W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2013

Re: [css-transforms][svg11] Effect of perspective and 3D transform on SVG bounding box

From: Dirk Schulze <dschulze@adobe.com>
Date: Tue, 15 Oct 2013 22:46:03 -0700
To: "robert@ocallahan.org" <robert@ocallahan.org>
CC: "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <0ACF29E2-6452-4700-B7DF-489C1B029663@adobe.com>


On Oct 16, 2013, at 6:46 AM, "Robert O'Callahan" <robert@ocallahan.org<mailto:robert@ocallahan.org>> wrote:

Another approach, which is actually what Gecko currently does by accident, is to make SVG's "transform" attribute affect an SVG element's contribution to its parent's bounding box, but make CSS transforms not affect the element's contribution to its parent's bounding box.

That is what the SVG spec says currently just because CSS Transforms didn't exist at the time. It doesn't sound very intuitive though. I think we want to encourage people to use style sheets and CSS in general and not to rely on a specific attribute from SVG and cascade (presentation style) from CSS.

IIRC WebKit and Blink do include the CSS Transform in the bounding box. But then again, both just have 2D support and strip 3D components out.

Greetings
Dirk


Rob
--
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr, 'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp  waanndt  wyeonut  thoo mken.o w
Received on Wednesday, 16 October 2013 05:46:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:47 UTC