Safari fails to render image in nested SVG -


so given html, background image loads fine in firefox, ie , chrome. in safari, ignores it.

<!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> <html> <head>   <meta http-equiv="content-type" content="text/html; charset=utf-8">   <meta http-equiv="content-style-type" content="text/css">   <title></title> </head> <body>   <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewbox="0 0 141.72999572753906 255.1199951171875">     <image xlink:href="http://labels.labellogiclive.com/alfresco_10_p1_alf001_uk__v0.svg" preserveaspectratio="none" x="0" y="0" width="141.73" height="255.12"></image>   </svg> </body> </html> 

now thought might server issue, not giving correct headers, i've checked , looks (image/svg+xml). i'm @ bit of loss... ideas?

safari struggles deeply-nested svg <image> elements.

see, instance, comments here: embed svg in svg?

your first <image> loads svg, includes <image> loads background photo. if merge innermost <image> element (the photo) outermost svg, works fine.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -