Update for visible caret. Works better on desktop Chrome... but not at all on iOS.
Changes to make FireFox work for caret display - at least for the examples I've tried so far. Still seems to work on Chrome but not on iOS.