Closed Bug 433692 Opened 12 years ago Closed 2 years ago
Caretmode gets enabled for the whole page is content
Editable is set to false .
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:18.104.22.168) Gecko/20080404 Firefox/22.214.171.124 Build Identifier: The caret mode will be enabled for the whole page if you set contentEditable to false on an editable element. Reproducible: Always Steps to Reproduce: 1. Open the attached example URL. 2. Place caret inside the editable element. 3. Press the off link to disable contentEditable mode for the element. 4. Notice that the caret mode is now enabled for the whole page. Actual Results: Caret is still visible inside the editable element an also on the whole document. Expected Results: The caret should not be visible at all since there is no editable regions on the page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I feel this has a relation with bug 264820, but in this case it's the caret state that needs to adjust to dynamic conditions.
Depends on: 264820
Mochitest that tests this bug and bug 264820.
I'm asking for blocking on this one. I think it's over due to fix some of the more serious contentEditable bugs.
One can work around this issue by calling .blur() before disabling contenteditable
I cannot reproduce this on the latest Nightly 63. Feel free to reopen this with test case.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.