chriseppstein/compass — pull request #1044 by ry5n (2012-10-08 02:38:58+00:00)
Title: Improve flexibility of input-placeholder mixin so it can be used at the ...

...root of the stylesheet or with an argument for use with a selector.

This creates two usage mode: at the stylesheet root, include the mixin with styles passed as mixin content. If a specific element is being styled, pass "&" as an argument to the mixin as well.

Addresses #1035, should be consistent with the solution for #1021. Note this changes the default behaviour of this mixin. Authors would need to update stylesheets, but this is not in stable yet, so that shouldn't be an issue.