Le 15 déc. 2012 à 01:52, Ellen Herzfeld <[email protected]> a écrit :
> At 100% zoom it is fine, but if I zoom in or zoom out, there is an obvious > problem. This does not happen if I use a png instead. > > On Firefox and Chrome (latest versions) there is no problem. No problem in > Safari on iOS. > > The test page is here: > http://qd.xlii.org/2012b/icons-test.html Yeah, I've been trying to find a solution for this Opera behavior as well. So far, no go :-(. No matter how I write my SVG file, Opera burbs… (I don't know if Opera Mobile does the same when zooming in on a mobile device) It is like it is trying to zoom the SVG file twice: once scaling the bounding box (the HTML element) and then scale the elements (rect, etc) inside the SVG itself. Best thing to do is filing a bug with Opera (which I intend to do later this WE). But more bug reports is better. One of my test cases: http://dev.l-c-n.com/_temp/-svg-test.html And BTW, enjoy the differences in list-style-image handling between various browsers; the size differs. I think Opera and IE10 are correct per spec. Le 15 déc. 2012 à 02:16, Hakan Kirkan <[email protected]> a écrit : > Check the following link out. > > http://stackoverflow.com/questions/11856161/using-svg-as-css3-background-image-with-scaling That doesn't really answer the question. We're talking about browser zoom, not the zoom IE property or the scale value for CSS transforms. Philippe -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
