<?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>99651</bug_id>
          
          <creation_ts>2012-10-17 16:14:04 -0700</creation_ts>
          <short_desc>REGRESSION: Animated SVG does not work on &lt;body&gt; when in a background-image</short_desc>
          <delta_ts>2015-02-04 14:28:47 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>99676</dependson>
    
    <dependson>99677</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Rogers">pdr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fmalita</cc>
    
    <cc>krit</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>schenney</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>744744</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-10-17 16:14:04 -0700</bug_when>
    <thetext>See testcase: http://m8y.org/tmp/testcase228.xhtml

Reported by external user &quot;nemo&quot; on IRC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744753</commentid>
    <comment_count>1</comment_count>
      <attachid>169289</attachid>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-10-17 16:21:52 -0700</bug_when>
    <thetext>Created attachment 169289
Example for animation bug on body

SVG animation seem not to work on body elements. Tried html, p, div and worked there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744944</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-10-17 21:12:26 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=169289) [details]
&gt; Example for animation bug on body
&gt; 
&gt; SVG animation seem not to work on body elements. Tried html, p, div and worked there.

I wasn&apos;t able to reproduce the bug with your testcase, nor reproduce differences between body and p/div/etc.

I think this bug has at least two root issues:
1) We do not support data uri images in the svg-as-image case. This is why the leaves do not show up. https://bugs.webkit.org/show_bug.cgi?id=99677
2) There is at least one sizing bug tickled by this repro where we do not repaint correctly. https://bugs.webkit.org/show_bug.cgi?id=99676</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745317</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-10-18 09:19:06 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Created an attachment (id=169289) [details] [details]
&gt; &gt; Example for animation bug on body
&gt; &gt; 
&gt; &gt; SVG animation seem not to work on body elements. Tried html, p, div and worked there.
&gt; 
&gt; I wasn&apos;t able to reproduce the bug with your testcase, nor reproduce differences between body and p/div/etc.
&gt; 
&gt; I think this bug has at least two root issues:
&gt; 1) We do not support data uri images in the svg-as-image case. This is why the leaves do not show up. https://bugs.webkit.org/show_bug.cgi?id=99677
&gt; 2) There is at least one sizing bug tickled by this repro where we do not repaint correctly. https://bugs.webkit.org/show_bug.cgi?id=99676

Sorry, I tried with chrome canary, not with released version. Please check again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1066920</commentid>
    <comment_count>4</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2015-02-04 14:28:47 -0800</bug_when>
    <thetext>The test case includes an SVG but this SVG does not reference any resource either data uri or external. So it works for me. I would expect the SVG http://srufaculty.sru.edu/david.dailey/svg/ovaling.svg may have changed since this bug was opened to not include any data uri resources.

But I found another issue with this test case. The animation performs really slow when the SVG is the background of the &lt;body&gt; element.  I opened a new bug instead of recycling this one. The bug is https://bugs.webkit.org/show_bug.cgi?id=141261.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>169289</attachid>
            <date>2012-10-17 16:21:52 -0700</date>
            <delta_ts>2012-10-17 16:21:52 -0700</delta_ts>
            <desc>Example for animation bug on body</desc>
            <filename>bg-animate.html</filename>
            <type>text/html</type>
            <size>172</size>
            <attacher name="Dirk Schulze">krit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGJvZHkgc3R5bGU9ImJhY2tncm91bmQt
aW1hZ2U6IHVybChodHRwOi8vc3J1ZmFjdWx0eS5zcnUuZWR1L2RhdmlkLmRhaWxleS9zdmcvb3Zh
bGluZy5zdmcpOyB3aWR0aDogMTAwMHB4OyBoZWlnaHQ6IDEwMDBweCI+CjwvYm9keT4KPC9odG1s
Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>