Merge branch 'master' of github.com:chriseppstein/compass

This commit is contained in:
Scott Davis 2011-06-09 15:44:46 -04:00
commit eb4870b685
4 changed files with 8 additions and 15 deletions

View File

@ -1,4 +1,6 @@
rvm:
- 1.8.7
- 1.9.2
- jruby
- rbx
- ree

View File

@ -1,3 +1,4 @@
@charset "utf-8";
@import "typography";
$alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", Georgia, serif !default;

View File

@ -12,7 +12,10 @@
//
// If you need to generate other formats check out the Font Squirrel
// [font generator](http://www.fontsquirrel.com/fontface/generator)
//
// Example:
//
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
@mixin font-face(
$name,
$font-files,
@ -28,16 +31,3 @@
src: $font-files;
}
}
// EXAMPLE
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
//
// will generate:
//
// @font-face {
// font-family: 'this name';
// src: url('fonts/this.eot');
// src: local(""),
// url('fonts/this.otf') format('woff'),
// url('fonts/this.woff') format('opentype');
// }

View File

@ -57,7 +57,7 @@ class CompassTest < Test::Unit::TestCase
assert_no_errors css_file, :blueprint
end
each_sass_file do |sass_file|
assert_renders_correctly sass_file
assert_renders_correctly sass_file, :ignore_charset => true
end
end
end