[Webkit-unassigned] [Bug 70871] REGRESSION: Border-image shows all but center portion of image (if unprefixed property present)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 15 19:46:02 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=70871


David Barr <davidbarr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidbarr at chromium.org




--- Comment #2 from David Barr <davidbarr at chromium.org>  2011-11-15 19:46:02 PST ---
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 'fill' keyword just after the slice values. Note that FF rejects the 'fill' 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;

}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list