Closed Bug 1130297 Opened 7 years ago Closed 7 years ago

element with moz-user-select none should not be selected if calling selectallchildren on its parent

Categories

(Core :: DOM: Selection, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: gduan, Unassigned)

References

Details

If we set element as -moz-user-select: none, and call selectallchildren on its parent element, the the element should not be selected as well.
blocking-b2g: --- → 2.2?
This is a misunderstanding of what the -moz-user-select property does.
It has no effect on script whatsoever, it only controls what the *user*
can do using mouse gestures / keyboard commands.  Script can insert
whatever it likes into the selection.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
blocking-b2g: 2.2? → ---
You need to log in before you can comment on or make changes to this bug.