<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>6620</bug_id>
          
          <creation_ts>2006-01-17 14:57:01 -0800</creation_ts>
          <short_desc>SVG shows up blank in WebKit+SVG</short_desc>
          <delta_ts>2006-01-26 02:37:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.theculture.org/rich/sharpblue/images/firsttransmission.svg</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>6774</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gavin.sharp</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28726</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-17 14:57:01 -0800</bug_when>
    <thetext>SVG shows up blank in WebKit+SVG

http://www.theculture.org/rich/sharpblue/images/firsttransmission.svg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28730</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-17 15:03:55 -0800</bug_when>
    <thetext>There are lots of these in the console:

CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.

I expect that the width/height of the outermost &lt;svg&gt; are being improperly calculated in the default case.  
This could lead to the ViewBox being invalid, thus producing an invalid viewbox to viewport trasnform.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29320</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-22 02:30:12 -0800</bug_when>
    <thetext>*** Bug 6579 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29863</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-25 10:46:58 -0800</bug_when>
    <thetext>This bug also affects google.
http://code.google.com/webstats/2005-12/pages.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29866</commentid>
    <comment_count>4</comment_count>
      <attachid>5950</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-25 10:58:53 -0800</bug_when>
    <thetext>Created attachment 5950
Simple Test Case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29868</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-25 10:59:35 -0800</bug_when>
    <thetext>I would argue this is our highest priority SVG bug at this point.  Many many SVGs fail because of this simple bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30005</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-26 02:37:52 -0800</bug_when>
    <thetext>No code changes required :)

Index: css/svg.css
===================================================================
--- css/svg.css (revision 12385)
+++ css/svg.css (working copy)
@@ -37,6 +37,11 @@
     overflow: visible !important
 }
 
+svg {
+    width: 100%;
+    height: 100%;
+}
+
 svg, symbol, marker, pattern, foreignObject {
     overflow: hidden
 }</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5950</attachid>
            <date>2006-01-25 10:58:53 -0800</date>
            <delta_ts>2006-01-25 10:58:53 -0800</delta_ts>
            <desc>Simple Test Case</desc>
            <filename>viewbox-with-percent-width-height.svg</filename>
            <type>image/svg+xml</type>
            <size>117</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">PHN2ZyB2aWV3Qm94PSIwIDAgODAwIDYwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAv
c3ZnIj4KCTxyZWN0IGhlaWdodD0iMTAwIiB3aWR0aD0iMTAwIiBmaWxsPSJncmVlbiIvPgo8L3N2
Zz4K
</data>

          </attachment>
      

    </bug>

</bugzilla>