Closed Bug 386730 Opened 15 years ago Closed 15 years ago
After reloading a page with a single contenteditable element, every element on that page is editable
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a7pre) Gecko/2007070304 Minefield/3.0a7pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a7pre) Gecko/2007070304 Minefield/3.0a7pre See the testcase URL (from bug #237964). Open the URL, and press reload. Click on a text outside the contenteditable area. Start typing: the text you just typed is appended. Deleting, pasting is also possible. Notice that the caret doesn't appear outside the contenteditable area. Reproducible: Always Expected Results: Text that isn't set as contenteditable should never be editable, even after a reload.
Also noted: after a page reload, disabling contenteditable through the testcase button doesn't work, which may be closely tied to this bug.
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → Trunk
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Comment on attachment 270886 [details] [diff] [review] v1 aMakeWholeDocumentEditable should apply to subsequent loads in the same editor.
Hmm, aMakeWholeDocumentEditable should apply to subsequent loads in the same editor and we shouldn't touch the editable flag on the document on teardown if we didn't touch it when setting up the editor.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.