- From: Jeff Schiller <codedread@gmail.com>
- Date: Tue, 14 Sep 2010 14:20:14 -0700
- To: Doug Schepers <schepers@w3.org>
- Cc: www-svg <www-svg@w3.org>
- Message-ID: <AANLkTik6s2CtOm3Zn1ekRidHY6-b3DZVF7ubHfJj6bGW@mail.gmail.com>
Ok, I'll continue the discussion, hopefully I don't make a muck of things.
a) For the second row, first column (flattening markup for simplicity):
<img width='100' height='100'>
<svg width='200' height='200'>
<circle.../>
</svg>
</img>
In an <img> context, IE9, Opera and WebKit display <img> differently than
<object>, <iframe> and <embed> here. Firefox treats all four cases
identically. Perhaps it has to do with these browsers "inferring" a viewBox
in an <img> context? Has this behavior been specified somewhere? Perhaps
[1] ?
b) For the third row, first column:
<img width='100' height='100'>
<svg width='100%' height='100%' viewBox='0 0 200 200'>
<circle .../>
</svg>
</img>
It seems that only WebKit mucks this one up and I can't yet make sense of
their erroneous behavior, but basically we want the sizing that WebKit uses
for <object>, <iframe> and <embed>.
Thoughts?
Jeff
[1] http://www.w3.org/Graphics/SVG/WG/track/issues/2258
On Tue, Sep 14, 2010 at 12:40 PM, Doug Schepers <schepers@w3.org> wrote:
> Hey-
>
> Doug Schepers wrote (on 9/14/10 3:28 PM):
>
>> Jeff Schiller wrote (on 9/14/10 3:16 PM):
>>
>>>
>>> Would it be difficult (or too time-consuming) to specify what each case
>>> should look like for now? Something like:
>>>
>>> * 'show full circle'
>>> * 'show only top-left quadrant of circle'
>>>
>>> for each case.
>>>
>>
>> I will try to be as complete and precise as I can in the spec, and
>> include examples, in addition to tests.
>>
>> When I get something worked up, I'll drop a line here.
>>
>
> ... which is not to say people shouldn't keep talking about this here...
> quite the contrary. But I don't know if I'll get to this for a week or so.
>
>
> Regards-
> -Doug Schepers
> W3C Team Contact, SVG and WebApps WGs
>
Received on Tuesday, 14 September 2010 21:21:05 UTC