Re: [svg-developers] Re: Using SVG as DIV background
On Monday, October 30, 2006, 8:19:59 AM, Charles wrote: CM On Mon, 30 Oct 2006 02:22:58 +1000, mikh2161 [EMAIL PROTECTED] wrote: So, you expect this to be a feature among web browsers at some time in the future? CM Definitely. It is one of the most requested improvements in SVG support. Naturally, since its a great way to get rounded corners, fades, etc with a very small download. How much processor slow-down will this cause when dozens of copies of an image are tiled across a web page's background? CM I'll leave that to Erik or another of the SVG developer team to answer, CM but I suspect very little actually. The background rendering time will consist of the svg rendering time, s, plus the per-image copying or blitting time r, which is proportional to width times height of the image, iw ih,multiplied by the number of horizontal and vertical copies ch cv. s + (r * iw * ih * ch * cv) if you have a 10x10 svg image and your window is 1000 square, then you will have 100 copies horizontally and vertically s + (r * 10 * 10 * 100 * 100) s + 1,000,000r If you have a 500x500 svg image you will have two copies horizontally and vertically s + (r * 500 * 500 * 2 * 2) s + 1,000,000r You may well get some slow down with animated backgrounds, but then you can currently go crazy with animated GIF backgrounds, too. What does your development build of Opera do with regards to animations or mouse- interactivity when an image is used as a background? Hopefully nothing, per: Scalable Child Element, used as a background image, will not provide support for scripting and interaction, such as zooming, panning, linking and user interaction events. http://www.w3.org/2004/CDF/specs/CDR/wp-1/wicd.html#scalable-background-image CM We turn them off. Background images are just that. Good. CM There may be a case for CM non-interactive animated backgrounds (although I shudder to think of what CM people will mostly do with them), but interactivity isn't part of the CM background, IMO... Right. An SVG used as a background image will not receive user interface events. if you need an interactive image behind HTML text, make it a foreground image and use CSS positioning. -- Chris Lilleymailto:[EMAIL PROTECTED] Interaction Domain Leader Co-Chair, W3C SVG Working Group W3C Graphics Activity Lead Co-Chair, W3C Hypertext CG - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Using SVG as DIV background
On Sun, 29 Oct 2006 17:22:58 +0100, mikh2161 [EMAIL PROTECTED] wrote: How much processor slow-down will this cause when dozens of copies of an image are tiled across a web page's background? Well, the rendering of the tile will take the same amount of time as the svg image rendered standalone at the same size. Then the tiling operation will take as long as it does for any other bitmap data, at least in the current implementation. What does your development build of Opera do with regards to animations or mouse- interactivity when an image is used as a background? It's not possible to interact with the background, and animation is not supported. /Erik -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Using SVG as DIV background
So, you expect this to be a feature among web browsers at some time in the future? How much processor slow-down will this cause when dozens of copies of an image are tiled across a web page's background? What does your development build of Opera do with regards to animations or mouse- interactivity when an image is used as a background? --- In svg-developers@yahoogroups.com, Charles McCathieNevile [EMAIL PROTECTED] wrote: On Sat, 28 Oct 2006 05:44:24 +0900, mikh2161 [EMAIL PROTECTED] wrote: Is there a way to use an SVG file as the background image of an DIV tag, or are the object and embed tags the only means of embedding? Currently I don't think so - you have to do a whole lot of magic to place things over the top of real content. We have this working in development builds of Opera, but unfortunately it will still be a while before it gets into public releases... Something to look forward to :) (Some time soon I will write up what we have got, so you can at least get a view of how to use it.) Cheers Chaals -- Charles McCathieNevile, Opera Software: Standards Group hablo español - je parle français - jeg lærer norsk [EMAIL PROTECTED] Try Opera 9 now! http://opera.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Using SVG as DIV background
On Mon, 30 Oct 2006 02:22:58 +1000, mikh2161 [EMAIL PROTECTED] wrote: So, you expect this to be a feature among web browsers at some time in the future? Definitely. It is one of the most requested improvements in SVG support. How much processor slow-down will this cause when dozens of copies of an image are tiled across a web page's background? I'll leave that to Erik or another of the SVG developer team to answer, but I suspect very little actually. What does your development build of Opera do with regards to animations or mouse- interactivity when an image is used as a background? We turn them off. Background images are just that. There may be a case for non-interactive animated backgrounds (although I shudder to think of what people will mostly do with them), but interactivity isn't part of the background, IMO... Cheers Chaals --- In svg-developers@yahoogroups.com, Charles McCathieNevile [EMAIL PROTECTED] wrote: On Sat, 28 Oct 2006 05:44:24 +0900, mikh2161 [EMAIL PROTECTED] wrote: Is there a way to use an SVG file as the background image of an DIV tag, or are the object and embed tags the only means of embedding? Currently I don't think so - you have to do a whole lot of magic to place things over the top of real content. We have this working in development builds of Opera, but unfortunately it will still be a while before it gets into public releases... Something to look forward to :) (Some time soon I will write up what we have got, so you can at least get a view of how to use it.) Cheers Chaals -- Charles McCathieNevile, Opera Software: Standards Group hablo español - je parle français - jeg lærer norsk [EMAIL PROTECTED] Try Opera 9 now! http://opera.com -- Charles McCathieNevile, Opera Software: Standards Group hablo español - je parle français - jeg lærer norsk [EMAIL PROTECTED] Try Opera 9 now! http://opera.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/