Skip to content

Commit 508046b

Browse files
committed
Try to address <http://lists.w3.org/Archives/Public/www-style/2011Sep/0172.html> by sizing the image first to the border image area.
1 parent 4f44f38 commit 508046b

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

css3-background/Overview.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3079,7 +3079,10 @@ <h3 id=the-border-image-slice><span class=secno>6.2. </span>The &lsquo;<a
30793079
<dt><var>&lt;number&gt;</var>
30803080

30813081
<dd>Numbers represent pixels in the image (if the image is a raster image)
3082-
or vector coordinates (if the image is a vector image).
3082+
or vector coordinates (if the image is a vector image). If the image must
3083+
be sized to determine the slices (for example, for SVG images with no
3084+
intrinsic size), then it is sized to the <a
3085+
href="#border-image-area"><i>border image area</i></a>.
30833086

30843087
<dt><dfn id=border-image-slice-fill>&lsquo;<code
30853088
class=css>fill</code>&rsquo;</dfn>

css3-background/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2246,7 +2246,10 @@ <h3 id="the-border-image-slice">The 'border-image-slice' property</h3>
22462246

22472247
<dt><var>&lt;number&gt;</var>
22482248
<dd>Numbers represent pixels in the image (if the image is a raster
2249-
image) or vector coordinates (if the image is a vector image).
2249+
image) or vector coordinates (if the image is a vector image). If
2250+
the image must be sized to determine the slices (for example, for
2251+
SVG images with no intrinsic size), then it is sized to the
2252+
<i>border image area</i>.
22502253

22512254
<dt><dfn id="border-image-slice-fill">''fill''</dfn>
22522255
<dd>The ''fill'' keyword, if present, causes the middle part of

0 commit comments

Comments
 (0)