<?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>70871</bug_id>
          
          <creation_ts>2011-10-25 22:59:18 -0700</creation_ts>
          <short_desc>REGRESSION: Border-image shows all but center portion of image (if unprefixed property present)</short_desc>
          <delta_ts>2012-07-12 14:43:49 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>davidbarr</cc>
    
    <cc>eoconnor</cc>
    
    <cc>hyatt</cc>
    
    <cc>paulirish</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>490574</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-10-25 22:59:18 -0700</bug_when>
    <thetext>What steps will reproduce the problem?
1. Pull up http://assortedgarbage.com ... Look at the main blog post area. In Chromium and Canary, the central portion of the border-image is invisible. 

2. Inspect the article element. Turn OFF the regular border-image property (leaving only the -webkit- prefixed property). The center reappears. 

3. Turn off the -webkit prefixed property &amp; the entire image disappears. 

What is the expected result?
The background of the main blog post area should look like the &quot;paper&quot; the rest of the site is made of.

What happens instead?
Central area of the blog post (using border-image) is missing. In the current stable version of Chrome, it&apos;s perfect.

Please provide any additional information below. Attach a screenshot if
possible.
It appears Canary is attempting to use the unprefixed border-image property and is rendering it incorrectly (though it still renders properly with the -webkit prefix).

http://chromium.googlecode.com/issues/attachment?aid=1013110000000&amp;name=border-image-canary.jpg&amp;token=b778969057aee8d9e7080cf85845023d&amp;inline=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>490576</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-10-25 23:00:40 -0700</bug_when>
    <thetext>http://crbug.com/101311</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>503527</commentid>
    <comment_count>2</comment_count>
    <who name="David Barr">davidbarr</who>
    <bug_when>2011-11-15 19:46:02 -0800</bug_when>
    <thetext>The issue is that WebKit now honors the spec with regard to the initial value for border image slice.
http://www.w3.org/TR/css3-background/#border-image-slice-fill

So to get the intended result, the style rules need to be updated to include the &apos;fill&apos; keyword just after the slice values. Note that FF rejects the &apos;fill&apos; keyword on the -moz-border-image property and WebKit ignores it on -webkit-border-image.

.post {
	margin: 0 0 40px 0;
	-webkit-border-image: url(images/article-background-stretch.png) 29 50 55 32 round round;
	-moz-border-image: url(images/article-background-stretch.png) 29 50 55 32 round round;
	border-image: url(images/article-background-stretch.png) 29 50 55 32 fill round round;
	border-width: 29px 50px 55px 32px;
	
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>668247</commentid>
    <comment_count>3</comment_count>
    <who name="Theresa O&apos;Connor">eoconnor</who>
    <bug_when>2012-07-12 14:43:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/11765883&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>668248</commentid>
    <comment_count>4</comment_count>
    <who name="Theresa O&apos;Connor">eoconnor</who>
    <bug_when>2012-07-12 14:43:49 -0700</bug_when>
    <thetext>WebKit&apos;s unprefixed border-image behaves as specified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>