Bug 34904 - border-image-width is mistakenly synonymous with border-width
Summary: border-image-width is mistakenly synonymous with border-width
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 13:50 PST by ssorallen
Modified: 2011-09-14 12:28 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssorallen 2010-02-12 13:50:26 PST
The border spec specifies two widths for the border area: border-image-width (http://www.w3.org/TR/css3-background/#the-border-image-width) and border-width (http://www.w3.org/TR/css3-background/#the-border-width). Currently, setting the values in -webkit-border-image after the slash set the border-width; there is no implementation of border-image-width. The border-width should change the size of the border-box, but border-image-width should not affect the size of the border box, only the drawing area available to the border-image.

Brad Kemper wrote an example of the problem this causes in the section "Padding-Box vs. Fancy Corners": http://www.bradclicks.com/cssplay/border-image/Thinking_Outside_The_Box.html
Comment 1 Dave Hyatt 2011-09-14 12:28:05 PDT
This has been fixed by adding border-image, which won't behave this way. -webkit-border-image will continue to set the border widths, though, for legacy compatibility.