<?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>105257</bug_id>
          
          <creation_ts>2012-12-17 23:29:52 -0800</creation_ts>
          <short_desc>&lt;use&gt; container targets are not cloned properly if they appear after the &lt;use&gt; element</short_desc>
          <delta_ts>2014-12-12 12:58:26 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>139451</dup_id>
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Rogers">pdr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ajvincent</cc>
    
    <cc>dbates</cc>
    
    <cc>dino</cc>
    
    <cc>fmalita</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>schenney</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>793399</commentid>
    <comment_count>0</comment_count>
      <attachid>179884</attachid>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-12-17 23:29:52 -0800</bug_when>
    <thetext>Created attachment 179884
Testcase

It looks like we&apos;re improperly creating the shadow tree for container nodes that appear after the referencing &lt;use&gt; element. Non-container elements seem to work fine.

This works:
&lt;g id=&quot;logo2&quot;&gt; ... &lt;/g&gt;
&lt;use xlink:href=&quot;#logo2&quot; x=&quot;20&quot; y=&quot;20&quot;&gt;&lt;/use&gt;

This does not work:
&lt;use xlink:href=&quot;#logo1&quot; x=&quot;20&quot; y=&quot;20&quot;&gt;&lt;/use&gt;
&lt;g id=&quot;logo1&quot;&gt; ... &lt;/g&gt;

Original bug: https://code.google.com/p/chromium/issues/detail?id=166438</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043388</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-10-22 02:13:13 -0700</bug_when>
    <thetext>This causes http://la-grange.net/2012/03/08/odevrel/ to render incorrectly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1052320</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-12-03 15:49:12 -0800</bug_when>
    <thetext>*** Bug 136128 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1052321</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-03 15:49:49 -0800</bug_when>
    <thetext>&lt;rdar://problem/19135832&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1054889</commentid>
    <comment_count>4</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-12-12 12:58:26 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 139451 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>179884</attachid>
            <date>2012-12-17 23:29:52 -0800</date>
            <delta_ts>2012-12-17 23:29:52 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>svg.html</filename>
            <type>text/html</type>
            <size>579</size>
            <attacher name="Philip Rogers">pdr</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+CjxodG1sPgpyZWZlcmVuY2VkIGlkIGRlZmluZWQgYWZ0ZXIgdXNlOjxi
ci8+Cjxzdmcgd2lkdGg9IjMwMCIgaGVpZ2h0PSIxNTAiPgogIDx1c2UgeGxpbms6aHJlZj0iI2xv
Z28xIiB4PSIyMCIgeT0iMjAiPjwvdXNlPgogIDxnIGlkPSJsb2dvMSI+CiAgICA8cmVjdCB4PSIy
MCIgeT0iMCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBmaWxsPSJncmVlbiIvPgogICAgPHJlY3Qg
eD0iMCIgeT0iMCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBmaWxsPSJyZWQiLz4KICA8L2c+Cjwv
c3ZnPgo8YnIvPgpyZWZlcmVuY2VkIGlkIGRlZmluZWQgYmVmb3JlIHVzZTo8YnIvPgo8c3ZnIHdp
ZHRoPSIzMDAiIGhlaWdodD0iMTUwIj4KICA8ZyBpZD0ibG9nbzIiPgogICAgPHJlY3QgeD0iMjAi
IHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iZ3JlZW4iLz4KICAgIDxyZWN0IHg9
IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmVkIi8+CiAgPC9nPgogIDx1
c2UgeGxpbms6aHJlZj0iI2xvZ28yIiB4PSIyMCIgeT0iMjAiPjwvdXNlPgo8L3N2Zz4KPC9ib2R5
Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>