<?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>142873</bug_id>
          
          <creation_ts>2015-03-19 12:52:02 -0700</creation_ts>
          <short_desc>Switching the src of an iframe from an SVG with intrinsic size to an SVG with no intrinsic leaves dirt if the sizes of the images are different</short_desc>
          <delta_ts>2023-12-20 05:44:05 -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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, LayerBasedSVGEngine</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1078595</commentid>
    <comment_count>0</comment_count>
      <attachid>249050</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2015-03-19 12:52:02 -0700</bug_when>
    <thetext>Created attachment 249050
test case

Open the attached test case.
Click on the button &apos;Red&apos; and then click on the button &apos;Lime&apos;.

Result: The area of the lime rectangle is only repainted and since the lime rectangle is smaller than the red rectangle, the bottom of the red rectangle is not cleared.
Expected: Changing the source of an iframe to an SVG with no intrinsic size should repaint its old rectangle.

Note: The dirt is cleared is the window is refreshed (resized for example).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078596</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-03-19 12:58:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/20228302&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078934</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2015-03-20 13:20:27 -0700</bug_when>
    <thetext>The bug is not reproducible if the css &quot;float&quot; property is set to &quot;none&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978244</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-09-19 04:01:51 -0700</bug_when>
    <thetext>This bug still exist in WebKit ToT (268117@main) while Chrome Canary 119 and Firefox Nightly 119 do not exhibit this issue.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>249050</attachid>
            <date>2015-03-19 12:52:02 -0700</date>
            <delta_ts>2015-03-19 12:52:02 -0700</delta_ts>
            <desc>test case</desc>
            <filename>test088.html</filename>
            <type>text/html</type>
            <size>1142</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogIDxzdHlsZT4KICAgIGlmcmFtZSB7CiAgICAgIHdpZHRoOiAyMDA7CiAg
ICAgIGJvcmRlcjogbm9uZTsKICAgICAgZmxvYXQ6IGxlZnQ7CiAgICB9CiAgPC9zdHlsZT4KPC9o
ZWFkPgo8Ym9keSBvbmxvYWQ9ImNoYW5nZUlGcmFtZSgnbGltZScpIj4KICA8ZGl2PgogICAgPGJ1
dHRvbiBvbmNsaWNrPSJjaGFuZ2VJRnJhbWUoJ2xpb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nIGZpbGw9J3JlZCcvPiBc
CiAgICAgICAgICAgIDwvc3ZnPiI7CiAgICAgICAgICBpZnJhbWUuaGVpZ2h0ID0gIjIwMHB4IjsK
ICAgICAgICAgIGJyZWFrOwogICAgICB9CiAgICB9CiAgPC9zY3JpcHQ+CjwvYm9keT4KPC9odG1s
Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>