From 88aa3b3c7e413ca4832f9b37efdb91ffba8a159f Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Mon, 2 Jan 2012 11:32:10 -0500 Subject: [PATCH] removed border-image ... someone needs to learn to close old issues =( --- .../reference/compass/css3/border_image.haml | 15 ------------ .../compass/stylesheets/compass/_css3.scss | 1 - .../compass/css3/_border-image.scss | 23 ------------------- .../stylesheets/compass/css/border-image.css | 5 ---- .../compass/sass/border-image.scss | 3 --- 5 files changed, 47 deletions(-) delete mode 100644 doc-src/content/reference/compass/css3/border_image.haml delete mode 100644 frameworks/compass/stylesheets/compass/css3/_border-image.scss delete mode 100644 test/fixtures/stylesheets/compass/css/border-image.css delete mode 100644 test/fixtures/stylesheets/compass/sass/border-image.scss diff --git a/doc-src/content/reference/compass/css3/border_image.haml b/doc-src/content/reference/compass/css3/border_image.haml deleted file mode 100644 index 2067cd2c..00000000 --- a/doc-src/content/reference/compass/css3/border_image.haml +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Compass Border Image -crumb: Border Image -framework: compass -stylesheet: compass/css3/_border-image.scss -meta_description: Specify the border image for all browsers. -layout: core -classnames: - - reference - - core - - css3 ---- -- render 'reference' do - %p - The border-image mixin is used to give a block element an image to be used instead of the normal border. It automatically outputs the correct vendor specific syntax for each browser (e.g. -webkit-border-image and -moz-border-image). See CSS3 spec: border-image. diff --git a/frameworks/compass/stylesheets/compass/_css3.scss b/frameworks/compass/stylesheets/compass/_css3.scss index aacea648..3ca84aa0 100644 --- a/frameworks/compass/stylesheets/compass/_css3.scss +++ b/frameworks/compass/stylesheets/compass/_css3.scss @@ -1,5 +1,4 @@ @import "css3/border-radius"; -@import "css3/border-image"; @import "css3/inline-block"; @import "css3/opacity"; @import "css3/box-shadow"; diff --git a/frameworks/compass/stylesheets/compass/css3/_border-image.scss b/frameworks/compass/stylesheets/compass/css3/_border-image.scss deleted file mode 100644 index e0829d02..00000000 --- a/frameworks/compass/stylesheets/compass/css3/_border-image.scss +++ /dev/null @@ -1,23 +0,0 @@ -@import "shared"; -//border-image: source slice width outset repeat -// defaults none 100% 1 0 stretch via http://www.w3schools.com/cssref/css3_pr_border-image.asp - -$default-border-image-slice : 100% !default; -$default-border-image-width : 1 !default; -$default-border-image-outset : 0 !default; - -// repeated | rounded | stretched -$default-border-image-repeat : unquote('stretch') !default; - -// The border-image is used to give a block element an image to be used instead of the normal border. -@mixin border-image($source, $slice:$default-border-image-slice, $width:$default-border-image-width, $outset:$default-border-image-outset, $repeat:$default-border-image-repeat) { - $value: (image_url($source), $slice, $width, $outset, $repeat); - @include experimental(border-image, $value, - -moz, - -webkit, - -o, - not -ms, - not -khtml, - official - ); - } \ No newline at end of file diff --git a/test/fixtures/stylesheets/compass/css/border-image.css b/test/fixtures/stylesheets/compass/css/border-image.css deleted file mode 100644 index 5a86f37e..00000000 --- a/test/fixtures/stylesheets/compass/css/border-image.css +++ /dev/null @@ -1,5 +0,0 @@ -.simple { - -webkit-border-image: url('/images/100x150.jpeg?busted=true'), 100%, 1, 0, stretch; - -moz-border-image: url('/images/100x150.jpeg?busted=true'), 100%, 1, 0, stretch; - -o-border-image: url('/images/100x150.jpeg?busted=true'), 100%, 1, 0, stretch; - border-image: url('/images/100x150.jpeg?busted=true'), 100%, 1, 0, stretch; } \ No newline at end of file diff --git a/test/fixtures/stylesheets/compass/sass/border-image.scss b/test/fixtures/stylesheets/compass/sass/border-image.scss deleted file mode 100644 index b0ea33f7..00000000 --- a/test/fixtures/stylesheets/compass/sass/border-image.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import "compass/css3/border-image"; - -.simple { @include border-image("100x150.jpeg"); } \ No newline at end of file