I am running into the problem described in https://bugzilla.mozilla.org/show_bug.cgi?id=308736 and can reproduce the problem using Firefox 19.0 for the two examples provided in the bug posting. The bug however is marked "Fixed" in a very old version of Firefox.
This is a case where we have an iframe and it is setup to be in designmode to act as a html editor. The editor starts off with no content (i.e. the <body> element contains no children). When the user clicks inside the iframe no caret appears. If the user types even one character the caret will then appear as expected. This however confuses users since after the initial click in the iframe they should be provided some sort of feedback to let them know that they can start typing.
- All posts
- Helpful Solutions
You may get an answer here but probably stand a better chance on the Mozillazine fora or AMO. I am not even sure the test case and STR on the linked bug are still valid.
I've opened a bug and the Mozilla developers have confirmed that this problem is a regression in Firefox 15 and later releases.
Original bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=308736 – Caret is invisible when entering an empty designmode field https://bugzilla.mozilla.org/show_bug.cgi?id=395965 – Caret drawn vertically offset in designMode IFrame
Posting of regression in Firefox 15: https://bugzilla.mozilla.org/show_bug.cgi?id=846943 - Caret is invisible when entering an empty designmode field - regression
Thanks for doing the research and posting back.
- IMPORTANT ANNOUNCEMENT: We’re going through some system changes, that may have slowed responses to your questions. If you had asked a question in the last couple of months, please re-post it and the community will help you as soon as we can. If you’ve registered after February 7th, please register again, the accounts on the previous site were not migrated to this temporary site. If you joined us before February 7, please reset your password if you have trouble logging into this temporary site.