Re: Embedding SVG - need help

Hi, Jeff-

Jeff Schiller wrote (on 9/14/10 1:39 PM):
>
> Can the SVG WG provide what the reference rendering should be for each
> of the cases at the following test:
>
> http://codedread.com/browser-tests/images/html.html

I'm getting a 404 for everything under http://codedread.com/browser-tests/

> There might already be a test case out there somewhere (I dimly recall
> Doug had a page?)

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.


> In the latest IE9 Preview, oddly I didn't see anything for
> <object>/<embed> columns until I scroll the page (then the 'missing
> file' indication goes away and the SVG is displayed).  Maybe someone
> knows why?  Also, the <iframe> cases have a white background unlike
> other browsers.

The Integration spec doesn't (yet) include information about backgrounds 
or pointer events, but it will soon.  The scrolling thing would be odd, 
and certainly a bug.  In general, IE9preview seems to perform pretty 
well with the simple examples in SVG Integration.  I guess we need more 
tests.


> Opera shows scrollbars in some contexts, but not others.

I've seen that for all the browsers, in some contexts.


> I think WebKit is the worst offender, since it has two major bugs that I
> know of that affect the results:
>    - annoying non-transparent background in object/iframe/embed (bug
> #10687 <https://bugs.webkit.org/show_bug.cgi?id=10687>)
>    - improper sizing of the SVG in an <img> when <svg>'s width and
> height are in percentages
>
> Some browsers display scrollbars in some cases and others don't.
>
> At the moment only one out of 16 squares in this grid displays reliably
> across all modern browsers (<img> with <svg> explicit width, height and
> viewBox).

I hope that with a judicious combination of normative wording, 
informative references to other specs (HTML & CSS), filing of bugs, and 
general raising of awareness, we can get all these problems solved. 
Thanks for cataloging these issues, I hope you can help us drive them 
forward.

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

Received on Tuesday, 14 September 2010 18:08:09 UTC