Open
Bug 556959
Opened 15 years ago
Updated 4 years ago
The 2 settings under layout.word_select do not work together properly.
Categories
(Core :: DOM: Selection, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: degroote.koen, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
The preference layout.word_select has 2 sub-properties:
layout.word_select.eat_space_to_next_word [Boolean] - This setting determines the selection behavior when you double-click on a word on a web page. By default (True), Firefox selects the word and the white space on the right of that word. If set to False, Firefox will only select the word itself with no extra spaces.
layout.word_select.stop_at_punctuation [Boolean] - This setting determines whether Firefox selects the punctuation around a word when it is double-click selected. If set to True, the punctuation is not selected with the word; if set to False, additional punctuation around the word is also selected. For example double-clicking on (default) in Firefox will either just select default, or (default) based on this setting.
Now, if you set both to false, the punctuation becomes part of the word that gets selected. I would expect that doube-clicking (default) would not select the spaces before and after the punctuations. I expect this because of the layout.word_select.eat_space_to_next_word being set to false. But it does get selected.
Also, if there is only 1 punctuation symbol, only the space at the side of the symbol will be selected.
Reproducible: Always
Steps to Reproduce:
1. Set both settings to false
2. Click any text with punctuation. Like this; foobar
3.
Actual Results:
Double-clicking words with punctuation before and/or after the actual word, selected the spaces before/after the word too.
Expected Results:
These spaces should not be selected, because the setting controlling that is set to false.
Component: General → Selection
Product: Firefox → Core
QA Contact: general → selection
Comment 1•4 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: minor → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•