- From: Tavmjong Bah <tavmjong@free.fr>
- Date: Thu, 03 Mar 2011 17:09:05 +0100
- To: Patrick Dengler <patd@microsoft.com>
- Cc: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
Hi, A few general sizing comments: 1. I find the different behaviors depending on the method of embedding (<iframe vs <object> etc.) to be very confusing from an authoring perspective. 2 One should also check the behavior of inlined SVG. I modified Jeff Schiller's test page to add inlined SVG: http://tavmjong.free.fr/SVG/SCHILLER/html.xhtml 3. I find the behavior of SVG width=50%, height=50% to be strange. You can see an example if you scroll down a little bit on my version of a viewport/viewbox test page: http://tavmjong.free.fr/SVG/VIEWPORT/viewport.xhtml As far as I can tell, this is the behavior dictated by SVG1.2Tiny section 7.14 but it wasn't what I would expect (SVG1.1 section 6.16 seems to indicate a different behavior). BTW, I blogged last September about going through the SVG standard to figure out the sizing and positioning rules, not a pretty picture: http://tavmjong.free.fr/blog/?p=151 Tav On Thu, 2011-03-03 at 15:33 +0000, Patrick Dengler wrote: > I had my team look at Jonathon’s sizing tests from yesterday and found > out why IE9 is collapsing on auto. > > > > https://jwatt.org/svg/tmp/embedded-sizing/embedded.html > > > > > > From what we can determine, auto is not allowed on the width/height > attribute, only the CSS style. Changing: > > > > <object data=”…” width=”auto” height=”auto”></object> > > > > To: > > > > <object data=”…” style=”width:auto; height:auto”></object> > > > > Seems to meet the standard of HTML. > > > > These tests are still something we are drilling into in more detail, > so they are much appreciated! > > > > Patrick > > > > > >
Received on Thursday, 3 March 2011 16:09:44 UTC