Open Bug 76916 Opened 24 years ago Updated 4 years ago

Initial selection in a document should be disabled

Categories

(Core :: DOM: Selection, defect, P5)

defect

Tracking

()

Future

People

(Reporter: sfraser_bugs, Unassigned)

Details

Attachments

(1 file)

We currently default to setting selection to on in new frames/windows. This means 
that if selection is set in a way that does not involve focus changes (e.g. by 
JavaScript, or Find, or whatever), then selection can appear on (focussed) in 
multiple frames at the same time.

We should default selection to the disabled state. We'll get a focus event if the 
user clicks in a frame, which will change the selection state to on.
Attached patch nsPresShell fixSplinter Review
target for 0.9.1.
Can we add a one line comment that explains why we default to off?  Something 
like:  "default off so we don't get multiple frames showing selection; instead 
rely on focus event" or a pointer to this bug?
OS: Mac System 8.5 → All
Hardware: Macintosh → All
Target Milestone: --- → mozilla0.9.1
moving to 1.0
Priority: -- → P3
Target Milestone: mozilla0.9.1 → mozilla1.0
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
changing selection qa to tpreston.
QA Contact: blaker → tpreston
retargeting
Target Milestone: mozilla1.0.1 → Future
Assignee: mjudge → nobody
QA Contact: tpreston → selection

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: