Opened 12 years ago

Closed 12 years ago

#4516 closed defect (fixed)

setSelectable function doesn't set the "selectable state" to true on Firefox

Reported by: guest Owned by: tk
Priority: high Milestone: 1.0
Component: HTML Version: 0.9
Keywords: setSelectable Cc: jeanfrancois.cunat@…
Blocked By: Blocking:

Description

Example : http://milou.ccett.fr/~orange/sebastien/tests/setSelectable.html

On this example, the div element is first selectable, when you click on the button "unselect state", the div is no more selectable (setSelectable(domnode, false)). Then, if you click on the "select state" button (setSelectable(domnode, true)), the div stays unselectable (and have a style error...)

We have seen that setting the MozUserSelect? style property to void make the div element selectable.

Tests were made with Firefox 2.0.0.7 and firefox 1.5.

Change History (2)

comment:1 Changed 12 years ago by tk

Owner: changed from sjmiles to tk
Status: newassigned

I'll go ahead and fix this real quick.

comment:2 Changed 12 years ago by Karl Tiedt

Resolution: fixed
Status: assignedclosed

(In [10642]) fixes #4516 FF uses "" and "none", not "normal" and "none" to control selectability.

Note: See TracTickets for help on using tickets.