<?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>16281</bug_id>
          
          <creation_ts>2007-12-03 13:22:53 -0800</creation_ts>
          <short_desc>SVGs do not work as tiled background images</short_desc>
          <delta_ts>2011-10-31 08:27:04 -0700</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>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>47156</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Nikolas Zimmermann">zimmermann</assigned_to>
          <cc>eric</cc>
    
    <cc>jeffschiller</cc>
    
    <cc>krit</cc>
    
    <cc>mackyle</cc>
    
    <cc>rik</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>s+webkit</cc>
    
    <cc>webkit</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63177</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2007-12-03 13:22:53 -0800</bug_when>
    <thetext>SVGs work as background-images right now, but not when the background image is tiled. This is covered by an existing layout test:

fast/images/svg-as-tiled-background.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63178</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2007-12-03 13:23:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/5615946&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64113</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2007-12-13 14:23:22 -0800</bug_when>
    <thetext>I think SVGImage needs to implement its own version of Image::drawPattern()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268577</commentid>
    <comment_count>3</comment_count>
      <attachid>65278</attachid>
    <who name="Sidney San Martín">s+webkit</who>
    <bug_when>2010-08-24 08:54:33 -0700</bug_when>
    <thetext>Created attachment 65278
Test case for SVG background scaling/tiling

Should be scaled to `background-size`, not element size</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268578</commentid>
    <comment_count>4</comment_count>
    <who name="Sidney San Martín">s+webkit</who>
    <bug_when>2010-08-24 08:57:33 -0700</bug_when>
    <thetext>This attachment may help clarify the bug… The SVG background image tiles just fine with `background-size`, but is scaled to the element size and clipped to the `background-size`, which is wrong behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431958</commentid>
    <comment_count>5</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-07-04 09:20:07 -0700</bug_when>
    <thetext>I have a fix for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>441365</commentid>
    <comment_count>6</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-07-23 05:01:16 -0700</bug_when>
    <thetext>47156 fixes this bug (except zooming which is still broken).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>493320</commentid>
    <comment_count>7</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-10-31 08:27:04 -0700</bug_when>
    <thetext>Fixed in r98852. Thanks for the testcase!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>65278</attachid>
            <date>2010-08-24 08:54:33 -0700</date>
            <delta_ts>2010-08-24 08:54:33 -0700</delta_ts>
            <desc>Test case for SVG background scaling/tiling</desc>
            <filename>16281_svg_background_tiling_ssm.zip</filename>
            <type>application/zip</type>
            <size>1150</size>
            <attacher name="Sidney San Martín">s+webkit</attacher>
            
              <data encoding="base64">UEsDBAoAAAAAAJVbGD0AAAAAAAAAAAAAAAAWABAAc3ZnX2JhY2tncm91bmRfdGlsaW5nL1VYDAAq
5XNMKuVzTBoEUABQSwMEFAAIAAgAdF4YPQAAAAAAAAAAAAAAACsAEABzdmdfYmFja2dyb3VuZF90
aWxpbmcvY29uc3RydWN0aW9uLXRhcGUuc3ZnVVgMAIzqc0yM6nNMGgRQAI1RW2vbMBR+9684O6PQ
QmNJyUtI7YQ1CWEw1tJ1LX0arq3YYppkJC1O/v2OHJduZYE+SB+6nO9yTrbY/9Kwk84ra3IUKUfw
oTBVoa2RORqLi3mSfVjdLO+fbtfgdzXcfr/+8nkJOGLscbJkbHW/gm8PGxCpYGz9FSHBJoR2xljX
dWk3Sa2r2cYVbaNKz+gniz+pihGbEGkVKpwnSRa5d0p213afIwcOgvcLoXXSS7eTn3wry3BXBGWj
NSPxb+uClCmN8fl/9Mec86jXK1Vy6ymVVkYWjpxVSpoAqsrRusLU8oeTFcJekI0zhMOA+/FwJiRb
Z0SV+WBbsNutl+H46MNBU9/i/ai02rqZq5/PxxN+GRe/uOpfbFuUKhxmAtlbkp75FA0nGn6Khv2b
J94cgyaZo7ZBp6rQvAg0UtXNi1wyyG2V1rPfTp9/fO3DReROstbqQ20NtFaZQB0ejfllnM8AgpDD
lDaEyAI54LMuyp8I0drb6ulQRVmmR+jn/I7K2ADoxU5oUWoaM2HyB1BLBwijCsWnjAEAANwCAABQ
SwMEFAAIAAgAk14YPQAAAAAAAAAAAAAAACAAEABzdmdfYmFja2dyb3VuZF90aWxpbmcvaW5kZXgu
aHRtbFVYDADF6nNMxepzTBoEFABdUD0LwjAQndtfERFR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