Merge pull request #581 from rykov/stable

Fix to remove prefix to -moz-user-select values
This commit is contained in:
Eric Meyer 2011-10-05 09:35:46 -07:00
commit 6f2ac833fd
2 changed files with 2 additions and 7 deletions

View File

@ -13,12 +13,7 @@
@mixin user-select($select) { @mixin user-select($select) {
$select: unquote($select); $select: unquote($select);
// Mozilla needs prefix on both the -moz-property and the -moz-value
@include experimental(user-select, -moz-#{$select},
-moz, not -webkit, not -o, not -ms, not -khtml, not official
);
// others do not
@include experimental(user-select, $select, @include experimental(user-select, $select,
not -moz, -webkit, not -o, not -ms, -khtml, official -moz, -webkit, not -o, not -ms, -khtml, official
); );
} }

View File

@ -1,5 +1,5 @@
.user-select { .user-select {
-moz-user-select: -moz-none; -moz-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
-khtml-user-select: none; -khtml-user-select: none;
user-select: none; } user-select: none; }