[Compass Core] Rename -ellipsis to -mozilla-ellipsis-binding to be more accurate. Closes GH-126.
This commit is contained in:
parent
6a14abd9ba
commit
c3c0d8a1e8
@ -7,6 +7,12 @@ layout: article
|
|||||||
COMPASS CHANGELOG
|
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)
|
0.10.0.rc5 (May 2, 2010)
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
@import "compass/css3/shared";
|
@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
|
// compass install compass/ellipsis
|
||||||
$firefox2-ellipsis: false !default;
|
$use-mozilla-ellipsis-binding: false !default;
|
||||||
|
|
||||||
// This technique, by [Justin Maxwell](http://code404.com/), was originally
|
// This technique, by [Justin Maxwell](http://code404.com/), was originally
|
||||||
// published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
|
// published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
|
||||||
@ -19,7 +19,7 @@ $firefox2-ellipsis: false !default;
|
|||||||
not -khtml,
|
not -khtml,
|
||||||
official
|
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"));
|
-moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Since you've installed the xml file, you must set
|
// Since you've installed the xml file, you should set
|
||||||
// $firefox2-ellipsis to true before importing.
|
// $use-mozilla-ellipsis-binding to true before importing.
|
||||||
$firefox2-ellipsis: true
|
$use-mozilla-ellipsis-binding: true
|
||||||
@import compass/utilities/text/ellipsis
|
@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.
|
// You can delete this sass file if you want, it's just an example of how to use the ellipsis mixin.
|
||||||
|
Loading…
Reference in New Issue
Block a user