input and textarea caret-position testing ground

Click anywhere in the text to see a red vertical line – a 1-pixel-thick `div` that should be positioned exactly at the location of the caret.

I threw a wish in the well, Don't ask me, I'll never tell PlaceTheCursorUnderTheFirstLettersOfThisLineAndMakeSureItDoesntTrailOnThePreviousLine I looked to you as it fell, And now you're in my way And tabs are handled just fine Except in IE9. I'd trade my soul for a wish, Pennies and dimes for a kiss I wasn't looking for this, But now you're in my way Your stare was holdin', Ripped jeans, skin was showin' Hot night, wind was blowin' Where do you think you're going, baby? Hey, I just met you, And this is crazy, But here's my number, So call me, maybe!