Firefox 3 beta 3 render not pattern if css part is not in svg file.
Example:

My.SVG:
------------
<?xml version="1.0"?>
<?xml-stylesheet href="styles.css" type="text/css"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" 
"http://www.w3.org/TR/SVG/DTD/svg10.dtd";
<http://www.w3.org/TR/SVG/DTD/svg10.dtd> >
<svg xmlns="http://www.w3.org/2000/svg"; <http://www.w3.org/2000/svg>  
xmlns:xlink="http://www.w3.org/1999/xlink";
<http://www.w3.org/1999/xlink>
xml:space="preserve"  width="200" height="280" >
<title>xxx</title>
         <defs>
         <pattern x="0" y="0" width="10" patternUnits="userSpaceOnUse" 
id="ggpatt" height="10">
             <rect x="0" width="10" y="0" height="10" 
style="fill:yellow; stroke:none;"/>
             <g style="fill:black; stroke:black; stroke-width:1">
                 <circle r="2" cx="5" cy="5"/>
             </g>
         </pattern>
     </defs>
     <rect x="0" width="100" y="0" height="80" class="gg"/>
</svg>
------------

styles.css:
------------
.gg {fill:url(#ggpatt);stroke:black;stroke-width:1;}
------------

If I add to svg file following css part then it works:
------------
     <style type="text/css">  <![CDATA[
         .gg {fill:url(#ggpatt);stroke:black;stroke-width:1;}
     ]]>  </style>
------------

Is this bug or feature or I'm doing something wrong???



[Non-text portions of this message have been removed]



-----
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/
 

Reply via email to