Open Bug 466382 Opened 16 years ago Updated 3 years ago

Turing on/off "contenteditable" discards the selection

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: tuom.larsen, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 After enabling or disabling "contenteditable" on a div ("contenteditable" = "true|false"), the actual selection gets discarded, i.e. deselects. Reproducible: Always Steps to Reproduce: 1. <div "contenteditable"="false"> 2. make a selection 3. <div "contenteditable"="true"> Actual Results: The selection disappears. Expected Results: The selection should stay untouched.
Attached file testcase
This is WFM on Win Vista: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
> This is WFM on Win Vista: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; > rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Actually only one way: false->true loses selection, true->false retains selection.
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.9.0 Branch
probably, same cause with bug 563865.
Status: UNCONFIRMED → NEW
Depends on: 563865
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Version: 1.9.0 Branch → Trunk
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: