<?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>175535</bug_id>
          
          <creation_ts>2017-08-14 08:18:46 -0700</creation_ts>
          <short_desc>SVG element expands box horizontally</short_desc>
          <delta_ts>2026-02-10 00:25:53 -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>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=196910</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ManDay">manday</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>jonlee</cc>
    
    <cc>karlcow</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1338334</commentid>
    <comment_count>0</comment_count>
    <who name="ManDay">manday</who>
    <bug_when>2017-08-14 08:18:46 -0700</bug_when>
    <thetext>The attached HTML file should illustrate a problem with using max-height on this particular SVG (SRC: Wikipedia on &quot;Copyleft&quot;). This also happens if the SVG is referenced externally by an &lt;img&gt; element. This does not happen with all SVGs, but in this particular case, the element takes up the full width of the parent box.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338335</commentid>
    <comment_count>1</comment_count>
      <attachid>318037</attachid>
    <who name="ManDay">manday</who>
    <bug_when>2017-08-14 08:19:23 -0700</bug_when>
    <thetext>Created attachment 318037
Testcase where the float expands horizontally</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338381</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-08-14 10:16:06 -0700</bug_when>
    <thetext>Chrome has the same behavior as WebKit. Firefox puts the SVG image on the right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884951</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-18 16:41:25 -0700</bug_when>
    <thetext>Chrome and Firefox both place the copyleft icon on the right-hand side. We are now the only broken browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884952</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-18 16:41:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/97227164&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2179778</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-02-10 00:25:53 -0800</bug_when>
    <thetext>Safari 26.2 is now matching other browser.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>318037</attachid>
            <date>2017-08-14 08:19:23 -0700</date>
            <delta_ts>2017-08-14 08:19:23 -0700</delta_ts>
            <desc>Testcase where the float expands horizontally</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>1074</size>
            <attacher name="ManDay">manday</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8bWV0YSBodHRwLWVxdWl2PSJjb250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