<?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>139407</bug_id>
          
          <creation_ts>2014-12-08 10:55:14 -0800</creation_ts>
          <short_desc>The CSS border-image property should not affect the layout or the size of the object</short_desc>
          <delta_ts>2022-08-07 05:42:42 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>
          
          
          <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>rniwa</cc>
    
    <cc>self</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>1053439</commentid>
    <comment_count>0</comment_count>
      <attachid>242830</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-12-08 10:55:14 -0800</bug_when>
    <thetext>Created attachment 242830
Test case

Open the following html in WebKit:

&lt;html&gt;
&lt;head&gt;
  &lt;style&gt;
    div {
      height: 100px;
      width: 100px;
        
    }
    div#intrinsic-size {
      border-image: url(&apos;data:image/svg+xml;utf8,&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; version=&quot;1.1&quot; width=&quot;100&quot; height=&quot;100&quot;&gt;&lt;rect width=&quot;100&quot; height=&quot;100&quot; fill=&quot;lime&quot;/&gt;&lt;/svg&gt;&apos;) fill 0;
    }
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;div style=&quot;background: lime&quot;&gt;&lt;/div&gt;
  &lt;br&gt;
  &lt;div id=&quot;intrinsic-size&quot;&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

Result: Two lime rectangles with the same size are drawn but they are not left aligned.
Expected: The border should not affect the layout or the size of the object.
NOTE: It is not related to SVG so the same behavior happens if a png with size 100 x 100 is specified instead of the SVG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053440</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-08 10:56:32 -0800</bug_when>
    <thetext>&lt;rdar://problem/19178155&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889509</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-07 05:42:31 -0700</bug_when>
    <thetext>I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 using attached test case and I see &quot;two lime&quot; boxes and they are left aligned similar to all other browsers (Chrome Canary 106 and Firefox Nightly 105). So I am going to mark this as &quot;RESOLVED CONFIGURATION CHANGED&quot;. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>242830</attachid>
            <date>2014-12-08 10:55:14 -0800</date>
            <delta_ts>2014-12-08 10:55:14 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>border-image-simple-2.html</filename>
            <type>text/html</type>
            <size>432</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogIDxzdHlsZT4KICAgIGRpdiB7CiAgICAgIGhlaWdodDogMTAwcHg7CiAg
ICAgIHdpZHRoOiAxMDBweDsKICAgICAgICAKICAgIH0KICAgIGRpdiNpbnRyaW5zaWMtc2l6ZSB7
CiAgICAgIGJvcmRlci1pbWFnZTogdXJsKCdkYXRhOmltYWdlL3N2Zyt4bWw7dXRmOCw8c3ZnIHht
bG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMTAw
IiBoZWlnaHQ9IjEwMCI+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9ImxpbWUi
Lz48L3N2Zz4nKSBmaWxsIDA7CiAgICB9CiAgPC9zdHlsZT4KPC9oZWFkPgo8Ym9keT4KICA8ZGl2
IHN0eWxlPSJiYWNrZ3JvdW5kOiBsaW1lIj48L2Rpdj4KICA8YnI+CiAgPGRpdiBpZD0iaW50cmlu
c2ljLXNpemUiPjwvZGl2Pgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>