- From: Jon Ferraiolo <jonf@adobe.com>
- Date: Tue, 16 Aug 2005 11:17:32 -0700
- To: Jeff Schiller <codedread@gmail.com>, public-cdf@w3.org
Jeff, This is a very good comment, but unfortunately about six years too late. When the SVG 1.0 spec was developed in the period from 1998-2001, we agreed on the processing rules for the 'width' and 'height' attributes on the outermost <svg> element and how a child SVG object negotiates a viewport size with its parent. These rules went into the SVG 1.0 Recommendation, which was approved in Sept. 2001. The key text from the SVG 1.1 spec can be found at: http://www.w3.org/TR/SVG11/coords.html#ViewportSpace Perhaps we chose a suboptimal approach back in 1998-2001, but at this point there are many implementations that support these rules, so it is too late to change them. Jon Ferraiolo Member SVG Working Group Adobe Systems, Inc. At 07:20 AM 8/16/2005, Jeff Schiller wrote: >I am not satisfied with the cases you present for right-sizing in >Section 2.4.1. > >In essence, I feel that the object width attribute specifies the >object frame dimensions while the SVG width specifies the width of the >child document inside the object frame (which can be accomodated via >scrollbars if it is larger than the object frame. > >Here are the cases as I see them: > ><object width="100%">, <svg width="100%"> => result should be an >object frame that covers the full width of the XHTML element >containing the <object>, the SVG image inside should be the full width >of the object frame > ><object width="100%">, <svg width="50%"> => result should be an object >frame that covers the full width of the XHTML element containing the ><object>, the SVG image inside should be half the width of the object >frame (this is not a very useful case, but behavior can still be >well-defined) > ><object width="100%">, <svg width="200px"> => result should be an >object frame that is the full width of the XHTML element containing >the <object>, the SVG image inside this frame should be 200 pixels >(this may require the object frame to have a horizontal scrollbars >depending upon the browser width) > ><object width="100px">, <svg width="100%"> => result should be an >object frame that is 100 pixels wide, the SVG image inside this frame >should be 100 pixels wide > ><object width="100px">, <svg width="200px"> => result should be an >object frame that is 100 pixels wide, the SVG image inside this frame >should be 200 pixels wide (this will require the object frame to have >a horizontal scrollbar) > >Regards, >Jeff Schiller
Received on Tuesday, 16 August 2005 18:54:51 UTC