<?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>200445</bug_id>
          
          <creation_ts>2019-08-05 13:16:28 -0700</creation_ts>
          <short_desc>overflow=&quot;visible&quot; has no effect on the dimension of a &lt;use&gt; element unless its dimensions are specifed</short_desc>
          <delta_ts>2023-05-11 11:46:41 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>200143</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dholbert</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1558518</commentid>
    <comment_count>0</comment_count>
      <attachid>375547</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-08-05 13:16:28 -0700</bug_when>
    <thetext>Created attachment 375547
test case

Open the attached test case.

Expected: Two 100x100 green rectangles.
Result: The first rectangle is 100x100 green rectangle. The second rectangle is not fully green.

The first rectangle is defined as:

   &lt;use href=&quot;#s&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;

While the second rectangle is defined as:

   &lt;use href=&quot;#s&quot;/&gt;

The bug is the dimension of the second &lt;use&gt; element is not specified so it should take the dimension of the symbol. And it should be visible because the container &lt;svg&gt; is defined as:

   &lt;svg x = &quot;120&quot; width=&quot;50&quot; height=&quot;50&quot; overflow=&quot;visible&quot;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558519</commentid>
    <comment_count>1</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-08-05 13:17:28 -0700</bug_when>
    <thetext>Related WPT tests:

https://wpt.fyi/results/svg/struct/reftests/use-symbol-dimensions-override-001.svg?label=master&amp;label=experimental</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890830</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-12 00:21:40 -0700</bug_when>
    <thetext>It is still reproducible in Safari Technical Preview 151 and Safari 15.6 using attached test case where second square show &quot;red&quot; patch while all other browsers (Chrome Canary 106 and Firefox Nightly 105) does not show &quot;red&quot; patch in second square. Just wanted to share updated status. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890948</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-12 11:07:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/98577733&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954172</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-09 15:44:54 -0700</bug_when>
    <thetext>PR - https://github.com/WebKit/WebKit/pull/13662

Based on Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/2e863303d9035d517bfd13de1a5b3388576e4443</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954518</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-10 14:42:04 -0700</bug_when>
    <thetext>*** Bug 182172 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954753</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-11 11:46:38 -0700</bug_when>
    <thetext>Committed 263977@main (fd0a41d19f81): &lt;https://commits.webkit.org/263977@main&gt;

Reviewed commits have been landed. Closing PR #13662 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>375547</attachid>
            <date>2019-08-05 13:16:28 -0700</date>
            <delta_ts>2019-08-05 13:16:28 -0700</delta_ts>
            <desc>test case</desc>
            <filename>use-symbol-dimensions-override.svg</filename>
            <type>image/svg+xml</type>
            <size>515</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGRlZnM+CiAgICAg
ICAgPHN5bWJvbCBpZD0icyIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiPgogICAgICAgICAgICA8
cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmVlbiIvPgogICAgICAgIDwv
c3ltYm9sPgogICAgPC9kZWZzPgogICAgPHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZp
bGw9InJlZCIvPgogICAgPHJlY3QgeCA9ICIxMjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBm
aWxsPSJyZWQiLz4KICAgIDxzdmcgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBvdmVyZmxvdz0idmlz
aWJsZSI+CiAgICAgICAgPHVzZSBocmVmPSIjcyIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiLz4K
ICAgIDwvc3ZnPgogICAgPHN2ZyB4ID0gIjEyMCIgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBvdmVy
Zmxvdz0idmlzaWJsZSI+CiAgICAgICAgPHVzZSBocmVmPSIjcyIvPgogICAgPC9zdmc+Cjwvc3Zn
Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>