During my work as frontend coder I had a task to place some white text on dynamic background image and the problems would accrue if background image was white so text wouldn’t be readable. This isn’t really every day requirement but it can be very useful. The solution I’m using is outline text JS, originally written by Anthony Ryan Delorie.
You can use this JavaScript in two ways, to outline text and to add shadow to text. It works in all major browsers. Click here for demo.