Re: Embedding SVG - need help

Hi, Jeff-

Jeff Schiller wrote (on 9/14/10 2:20 PM):
>
> On Tue, Sep 14, 2010 at 11:08 AM, Doug Schepers <schepers@w3.org
> <mailto:schepers@w3.org>> wrote:
>
>     There's the SVG Integration spec:
>     http://dev.w3.org/SVG/modules/integration/SVGIntegration.html
>
>     I've got a few actions to follow up on from the last SVG WG F2F, and
>     as soon as I update the draft, we will be pushing for a First Public
>     Working Draft on the spec.  It should answer some of the questions I
>     anticipate you have.
>
> Correct me if I'm wrong, but that spec doesn't (yet?) cover sizing
> issues (though it does specify other important things like Referencing
> Modes.

Correct.  However, the intent is to describe and define these sorts of 
sizing issues, normatively and informatively by reference to other 
specs.  This should help implementers and content creators alike.  Your 
grid will be a big help there, thanks.  We will also need tests for each 
of the common scenarios.


> For sizing, it seems there are a lot of things to consider:
>
> - containing object's explicit/implicit size
> - <svg>'s size (fixed, percentage)
> - viewBox
> - preserveAspectRatio

Right.


> I think the behavior might be specified across the CSS, HTML, SVG 1.1
> specs, but it's really not 100% clear to me.  That's why I made that
> grid of 16 tests testing 3 dimensions (referencing element type, svg
> width/height, viewBox).  Note that there are other dimensions to the
> test that I didn't bother with (ones where <img> and <object> don't have
> specified sizes, preserveAspectRatio=none).
>
> Maybe this is something that was covered clearly in the WICD/CDF specs?

I believe that CDF worked with other groups, like CSS and SVG, to get 
the wording resolved in those specs, rather than define it in the CDF 
specs.  In any case, we need to resolve all these things to make it 
consistent and interoperable, as well as make the common use cases the 
defaults (where possible).

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs

Received on Tuesday, 14 September 2010 18:51:59 UTC