<?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>106748</bug_id>
          
          <creation_ts>2013-01-13 16:28:42 -0800</creation_ts>
          <short_desc>SVG Elements not in view on page load do not display</short_desc>
          <delta_ts>2013-01-14 05:36:16 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>106221</dup_id>
          
          <bug_file_loc>http://jsfiddle.net/yY7QD/2/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kobi">kobitate94</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fmalita</cc>
    
    <cc>pdr</cc>
    
    <cc>schenney</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>806023</commentid>
    <comment_count>0</comment_count>
    <who name="Kobi">kobitate94</who>
    <bug_when>2013-01-13 16:28:42 -0800</bug_when>
    <thetext>Tested on Chrome 24.0.1312.52 (Mac), Chrome 23.0.1271.97 (Windows 7), WebKit Nightly Safari. When part of an SVG image is not in view when the page loads, the parts in view (and sometimes other parts) do not load. I&apos;ve got the code I am using to create the SVG in this jsFiddle: http://jsfiddle.net/yY7QD/2/. If you shrink your window, scroll the HTML section to the top, and reload the page, the bottom half of the image does not load. Here is the code use to generate the SVG (created by Adobe Illustrator CS6):

&lt;svg version=&quot;1.1&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; xmlns:a=&quot;http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/&quot; x=&quot;0px&quot; y=&quot;0px&quot; width=&quot;690px&quot; height=&quot;420px&quot; viewBox=&quot;0 43 690 420&quot; enable-background=&quot;new 0 43 690 420&quot; xml:space=&quot;preserve&quot;&gt;
&lt;defs&gt;&lt;/defs&gt;
&lt;filter id=&quot;fullblur&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;
    &lt;feGaussianBlur in=&quot;SourceGraphic&quot; stdDeviation=&quot;2&quot; /&gt;
&lt;/filter&gt;

&lt;filter id=&quot;halfblur&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;
    &lt;feGaussianBlur in=&quot;SourceGraphic&quot; stdDeviation=&quot;1&quot; /&gt;
&lt;/filter&gt;

&lt;filter id=&quot;noblur&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;
    &lt;feGaussianBlur in=&quot;SourceGraphic&quot; stdDeviation=&quot;0&quot; /&gt;
&lt;/filter&gt;


&lt;!-- BACKGROUND (hidden) --&gt;
&lt;rect y=&quot;43&quot; display=&quot;none&quot; fill=&quot;#D1DBBB&quot; width=&quot;690&quot; height=&quot;420&quot;/&gt;

&lt;!-- STAGE --&gt;
&lt;ellipse fill=&quot;#CC3333&quot; stroke=&quot;#000000&quot; cx=&quot;339.5&quot; cy=&quot;43&quot; rx=&quot;169.5&quot; ry=&quot;42.5&quot;/&gt;



&lt;!-- SEATS --&gt;
&lt;g&gt;

    &lt;!-- STUDENT SECTIONS --&gt;
    &lt;g id=&quot;studhover&quot;&gt;
        &lt;g filter=&quot;url(#halfblur)&quot; id=&quot;studchart&quot; class=&quot;chartsection&quot;&gt;

        &lt;g id=&quot;s1&quot;&gt;
                &lt;path class=&quot;sFill&quot; fill=&quot;#FECB2F&quot; d=&quot;M90.75,136c0,2.761,2.239,5,5,5h150c2.761,0,5-2.239,5-5V90.5c0-2.761-2.239-5-5-5h-150
            c-2.761,0-5,2.239-5,5V136z&quot;/&gt;
        &lt;path class=&quot;sStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M90.75,136c0,2.761,2.239,5,5,5h150c2.761,0,5-2.239,5-5V90.5c0-2.761-2.239-5-5-5h-150
            c-2.761,0-5,2.239-5,5V136z&quot;/&gt;
    &lt;/g&gt;

            &lt;g id=&quot;s2&quot;&gt;
            &lt;path class=&quot;sFill&quot; fill=&quot;#FECB2F&quot; d=&quot;M265.75,150c0,2.761,2.239,5,5,5h150c2.762,0,5-2.239,5-5v-45.5c0-2.761-2.238-5-5-5h-150
        c-2.761,0-5,2.239-5,5V150z&quot;/&gt;
            &lt;path class=&quot;sStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M265.75,150c0,2.761,2.239,5,5,5h150c2.762,0,5-2.239,5-5v-45.5c0-2.761-2.238-5-5-5h-150
        c-2.761,0-5,2.239-5,5V150z&quot;/&gt;
        &lt;/g&gt;

            &lt;g id=&quot;s3&quot;&gt;
            &lt;path class=&quot;sFill&quot; fill=&quot;#FECB2F&quot; d=&quot;M439.25,136c0,2.761,2.238,5,5,5h150c2.762,0,5-2.239,5-5V90.5c0-2.761-2.238-5-5-5h-150c-2.762,0-5,2.239-5,5V136z&quot;/&gt;
            &lt;path class=&quot;sStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M439.25,136c0,2.761,2.238,5,5,5h150c2.762,0,5-2.239,5-5V90.5c0-2.761-2.238-5-5-5h-150
            c-2.762,0-5,2.239-5,5V136z&quot;/&gt;
        &lt;/g&gt;

            &lt;g id=&quot;s4&quot;&gt;
            &lt;path class=&quot;sFill&quot; fill=&quot;#FECB2F&quot; d=&quot;M90.75,205.5c0,2.761,2.239,5,5,5h150c2.761,0,5-2.239,5-5V160c0-2.761-2.239-5-5-5h-150
            c-2.761,0-5,2.239-5,5V205.5z&quot;/&gt;
            &lt;path class=&quot;sStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M90.75,205.5c0,2.761,2.239,5,5,5h150c2.761,0,5-2.239,5-5V160c0-2.761-2.239-5-5-5h-150
            c-2.761,0-5,2.239-5,5V205.5z&quot;/&gt;
            &lt;/g&gt;

            &lt;g id=&quot;s5&quot;&gt;
            &lt;path class=&quot;sFill&quot; fill=&quot;#FECB2F&quot; d=&quot;M265.75,218c0,2.761,2.239,5,5,5h150c2.762,0,5-2.239,5-5v-45.5c0-2.761-2.238-5-5-5h-150
        c-2.761,0-5,2.239-5,5V218z&quot;/&gt;
            &lt;path class=&quot;sStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M265.75,218c0,2.761,2.239,5,5,5h150c2.762,0,5-2.239,5-5v-45.5c0-2.761-2.238-5-5-5h-150
        c-2.761,0-5,2.239-5,5V218z&quot;/&gt;
        &lt;/g&gt;

            &lt;g id=&quot;s6&quot;&gt;
            &lt;path class=&quot;sFill&quot; fill=&quot;#FECB2F&quot; d=&quot;M439.25,205.5c0,2.761,2.238,5,5,5h150c2.762,0,5-2.239,5-5V160c0-2.761-2.238-5-5-5h-150
        c-2.762,0-5,2.239-5,5V205.5z&quot;/&gt;
            &lt;path class=&quot;sStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M439.25,205.5c0,2.761,2.238,5,5,5h150c2.762,0,5-2.239,5-5V160c0-2.761-2.238-5-5-5h-150
        c-2.762,0-5,2.239-5,5V205.5z&quot;/&gt;
        &lt;/g&gt;

        &lt;/g&gt;

        &lt;!-- Filling in the gaps --&gt;
        &lt;g&gt;
            &lt;rect x=&quot;251&quot; y=&quot;84&quot; fill=&quot;transparent&quot; width=&quot;15&quot; height=&quot;140&quot; id=&quot;sVertLine1&quot; /&gt;
            &lt;rect x=&quot;425&quot; y=&quot;84&quot; fill=&quot;transparent&quot; width=&quot;15&quot; height=&quot;140&quot; id=&quot;sVertLine2&quot; /&gt;

            &lt;rect x=&quot;266&quot; y=&quot;84&quot; fill=&quot;transparent&quot; width=&quot;159&quot; height=&quot;15&quot; id=&quot;sHorizLine1&quot; /&gt;
            &lt;rect x=&quot;90&quot; y=&quot;140&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;sHorizLine2a&quot; /&gt;
            &lt;rect x=&quot;440&quot; y=&quot;140&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;sHorizLine2b&quot; /&gt;
            &lt;rect x=&quot;266&quot; y=&quot;153&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;sHorizLine3&quot; /&gt;
            &lt;rect x=&quot;90&quot; y=&quot;210&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;12&quot; id=&quot;sHorizLine4a&quot; /&gt;
            &lt;rect x=&quot;440&quot; y=&quot;210&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;12&quot; id=&quot;sHorizLine4b&quot; /&gt;
        &lt;/g&gt;

    &lt;/g&gt;

    &lt;!-- GUEST SECTIONS --&gt;
    &lt;g id=&quot;guesthover&quot;&gt;
        &lt;g filter=&quot;url(#halfblur)&quot; id=&quot;guestchart&quot; class=&quot;chartsection&quot;&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M91.5,273c0,2.762,2.239,5,5,5h150c2.761,0,5-2.238,5-5v-45.5c0-2.761-2.239-5-5-5h-150
            c-2.761,0-5,2.239-5,5V273z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M91.5,273c0,2.762,2.239,5,5,5h150c2.761,0,5-2.238,5-5v-45.5c0-2.761-2.239-5-5-5h-150
            c-2.761,0-5,2.239-5,5V273z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M440,273c0,2.762,2.238,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.761-2.238-5-5-5H445c-2.762,0-5,2.239-5,5
            V273z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M440,273c0,2.762,2.238,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.761-2.238-5-5-5H445
            c-2.762,0-5,2.239-5,5V273z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M91.5,342.5c0,2.762,2.239,5,5,5h150c2.761,0,5-2.238,5-5V297c0-2.762-2.239-5-5-5h-150
            c-2.761,0-5,2.238-5,5V342.5z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M91.5,342.5c0,2.762,2.239,5,5,5h150c2.761,0,5-2.238,5-5V297c0-2.762-2.239-5-5-5h-150
            c-2.761,0-5,2.238-5,5V342.5z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M440,342.5c0,2.762,2.238,5,5,5h150c2.762,0,5-2.238,5-5V297c0-2.762-2.238-5-5-5H445c-2.762,0-5,2.238-5,5
            V342.5z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M440,342.5c0,2.762,2.238,5,5,5h150c2.762,0,5-2.238,5-5V297c0-2.762-2.238-5-5-5H445
            c-2.762,0-5,2.238-5,5V342.5z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M266.5,287c0,2.762,2.239,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.761-2.238-5-5-5h-150
            c-2.761,0-5,2.239-5,5V287z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M266.5,287c0,2.762,2.239,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.761-2.238-5-5-5h-150
            c-2.761,0-5,2.239-5,5V287z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M266.5,355c0,2.762,2.239,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.762-2.238-5-5-5h-150
            c-2.761,0-5,2.238-5,5V355z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M266.5,355c0,2.762,2.239,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.762-2.238-5-5-5h-150
            c-2.761,0-5,2.238-5,5V355z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M91.5,410.5c0,2.762,2.239,5,5,5h150c2.761,0,5-2.238,5-5V365c0-2.762-2.239-5-5-5h-150
            c-2.761,0-5,2.238-5,5V410.5z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M91.5,410.5c0,2.762,2.239,5,5,5h150c2.761,0,5-2.238,5-5V365c0-2.762-2.239-5-5-5h-150
            c-2.761,0-5,2.238-5,5V410.5z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M440,410.5c0,2.762,2.238,5,5,5h150c2.762,0,5-2.238,5-5V365c0-2.762-2.238-5-5-5H445c-2.762,0-5,2.238-5,5
            V410.5z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M440,410.5c0,2.762,2.238,5,5,5h150c2.762,0,5-2.238,5-5V365c0-2.762-2.238-5-5-5H445
            c-2.762,0-5,2.238-5,5V410.5z&quot;/&gt;
    &lt;/g&gt;
            &lt;g&gt;
        &lt;path class=&quot;gFill&quot; fill=&quot;#3333CC&quot; d=&quot;M266.5,423c0,2.762,2.239,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.762-2.238-5-5-5h-150
            c-2.761,0-5,2.238-5,5V423z&quot;/&gt;
        &lt;path class=&quot;gStroke&quot; fill=&quot;none&quot; stroke=&quot;#000000&quot; d=&quot;M266.5,423c0,2.762,2.239,5,5,5h150c2.762,0,5-2.238,5-5v-45.5c0-2.762-2.238-5-5-5h-150
            c-2.761,0-5,2.238-5,5V423z&quot;/&gt;
    &lt;/g&gt;
        &lt;/g&gt;

        &lt;!-- Filling in the gaps --&gt;
        &lt;g&gt;
            &lt;rect x=&quot;251&quot; y=&quot;224&quot; fill=&quot;transparent&quot; width=&quot;15&quot; height=&quot;206&quot; id=&quot;gVertLine1&quot; /&gt;
            &lt;rect x=&quot;425&quot; y=&quot;224&quot; fill=&quot;transparent&quot; width=&quot;15&quot; height=&quot;206&quot; id=&quot;gVertLine2&quot; /&gt;

            &lt;rect x=&quot;266&quot; y=&quot;222&quot; fill=&quot;transparent&quot; width=&quot;159&quot; height=&quot;15&quot; id=&quot;gHorizLine1&quot; /&gt;
            &lt;rect x=&quot;90&quot; y=&quot;278&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;gHorizLine2a&quot; /&gt;
            &lt;rect x=&quot;440&quot; y=&quot;278&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;gHorizLine2b&quot; /&gt;
            &lt;rect x=&quot;266&quot; y=&quot;291&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;gHorizLine3&quot; /&gt;
            &lt;rect x=&quot;90&quot; y=&quot;348&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;gHorizLine4a&quot; /&gt;
            &lt;rect x=&quot;440&quot; y=&quot;348&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;gHorizLine4b&quot; /&gt;
            &lt;rect x=&quot;266&quot; y=&quot;360&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;15&quot; id=&quot;gHorizLine5&quot; /&gt;
            &lt;rect x=&quot;90&quot; y=&quot;417&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;13&quot; id=&quot;gHorizLine4a&quot; /&gt;
            &lt;rect x=&quot;440&quot; y=&quot;417&quot; fill=&quot;transparent&quot; width=&quot;161&quot; height=&quot;13&quot; id=&quot;gHorizLine4b&quot; /&gt;
        &lt;/g&gt;

    &lt;/g&gt;
&lt;/g&gt;
&lt;/svg&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806283</commentid>
    <comment_count>1</comment_count>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-01-14 05:33:11 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 106221 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806285</commentid>
    <comment_count>2</comment_count>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-01-14 05:36:16 -0800</bug_when>
    <thetext>Thanks for the report Kobi. This is a known issue with filter results caching, hopefully soon to be fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>