Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
text-overflow: ellipsis placeholder text for search input (bug 821867)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Mar 27, 2013
1 parent baad973 commit 8ebd032
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hearth/media/css/forms.styl
Expand Up @@ -31,9 +31,15 @@ input::-webkit-input-placeholder {

input:-moz-placeholder {
color: $gray;
text-overflow: ellipsis; /* Firefox 18 and below */
}

input::-moz-placeholder {
text-overflow: ellipsis; /* Firefox 19+ */
}

input[placeholder] {
text-overflow: ellipsis;
// Because bug 673873 is stupidface.
// Yes, the order matters. Firefox 18 (and below) is clownshoes.
&:-moz-placeholder:focus {
Expand Down

0 comments on commit 8ebd032

Please sign in to comment.