Closed Bug 268279 Opened 21 years ago Closed 21 years ago

double-click to select word of text selects multiple words (across <span> tags)

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: peakle, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 run the .html file I include below. Double-click the word "static" or "new" and you will select multiple words in the text, rather than just one. When the CSS classes which these <span> tags refer to were included, the results were the same, so I left those CSS class definitions out to simplify the example (they just colored the text). I can reproduce this on Mozilla 1.7.1, but bug does Not occur on IE 6.0. Text of HTML file that illustrates the problem: <html> <head> </head> <body> <a class="ln" name="81">081&nbsp;</a><span class="bg">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="kw">private&nbsp;static&nbsp;</span><span class="code">List&nbsp;clientAuthValues&nbsp;=&nbsp;</span><span class="kw">new&nbsp;</span><span class="code">ArrayList</span><span class="prn">()</span><span class="code">;</span> </body> </html> Reproducible: Always Steps to Reproduce: 1. double-click certain words in pages that uses <span> tags. 2. 3. Actual Results: more than one word was selected (highlited) in the text. Expected Results: Only one word should have been selected.
Apparently the fix was either too late or too scary for the 1.0 branch, but this is already fixed on the Firefox trunk (and recent Seamonkey builds).
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.