W3C home > Mailing lists > Public > www-svg@w3.org > September 2010

Re: Embedding SVG - need help

From: Jeff Schiller <codedread@gmail.com>
Date: Tue, 14 Sep 2010 11:20:07 -0700
Message-ID: <AANLkTi=CTs1OOmevAhndGR-hYnyNFm4iqoX-c_4c=mJc@mail.gmail.com>
To: Doug Schepers <schepers@w3.org>
Cc: www-svg <www-svg@w3.org>
On Tue, Sep 14, 2010 at 11:08 AM, Doug Schepers <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.

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

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,

Maybe this is something that was covered clearly in the WICD/CDF specs?

Received on Tuesday, 14 September 2010 18:20:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:22 UTC