[Compass Core] Rename -ellipsis to -mozilla-ellipsis-binding to be more accurate. Closes GH-126.

This commit is contained in:
Chris Eppstein 2010-05-04 19:11:53 -07:00
parent 6a14abd9ba
commit c3c0d8a1e8
3 changed files with 12 additions and 6 deletions

View File

@ -7,6 +7,12 @@ layout: article
COMPASS CHANGELOG
=================
0.10.0.rc6 (Unreleased)
-----------------------
* [Compass Core] The configuration constant `$firefox2-ellipsis` has been
renamed to `$use-mozilla-ellipsis-binding` to reflect the fact that
it must be used for any version of mozilla less than 3.6.
0.10.0.rc5 (May 2, 2010)
------------------------

View File

@ -1,9 +1,9 @@
@import "compass/css3/shared";
// To get firefox2 support, you must install the ellipsis pattern:
// To get full firefox support, you must install the ellipsis pattern:
//
// compass install compass/ellipsis
$firefox2-ellipsis: false !default;
$use-mozilla-ellipsis-binding: false !default;
// This technique, by [Justin Maxwell](http://code404.com/), was originally
// published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
@ -19,7 +19,7 @@ $firefox2-ellipsis: false !default;
not -khtml,
official
);
@if $experimental-support-for-mozilla and $firefox2-ellipsis {
@if $experimental-support-for-mozilla and $use-mozilla-ellipsis-binding {
-moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis"));
}
}

View File

@ -1,6 +1,6 @@
// Since you've installed the xml file, you must set
// $firefox2-ellipsis to true before importing.
$firefox2-ellipsis: true
// Since you've installed the xml file, you should set
// $use-mozilla-ellipsis-binding to true before importing.
$use-mozilla-ellipsis-binding: true
@import compass/utilities/text/ellipsis
// You can delete this sass file if you want, it's just an example of how to use the ellipsis mixin.