strange characters on page confuse text-selecting algorithm

NEW
Unassigned

Status

()

15 years ago
9 years ago

People

(Reporter: matus, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

Selecting text on a line with strange characters (see Rreproducing below) with
mouse causes Firefox to start selecting not under the cursor but a few
characters to the right.

Reproducible: Always
Steps to Reproduce:
1. Go to http://bash.org/?browse&p=88
2. Find #10260 on the page
3. Try to select the text "I took my ps2 to florida" with mouse.

Actual Results:  
The text " my ps2 to florida, and " gets selected.

Expected Results:  
"I took my ps2 to florida" should have been selected.

No themes. TabBrowser Extensions installed. Windows XP Pro, English.

Comment 1

15 years ago
Confirmed at http://bash.org/?10260 with Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8a2) Gecko/20040601 Firefox/0.8.0+.

Also happens in Seamonkey, so -> Selection.
Assignee: firefox → selection
Status: UNCONFIRMED → NEW
Component: General → Selection
Ever confirmed: true
Product: Firefox → Browser
QA Contact: firefox.general
Version: unspecified → Trunk

Comment 2

15 years ago
Created attachment 149938 [details]
testcase

short testcase with text from http://bash.org/?10260,
view-source:http://bash.org/?10260 also disturbed.
Have a look at the source of the testcase, some tags are overlapping the text.
Starnge characters are STX,ETX, SI, i.e. 0x02, 0x03, 0x0F.

Updated

15 years ago
Keywords: testcase

Comment 3

14 years ago
I believe (well, I'm quite sure) this is directly related to bug #248708,
'Problem with rendering & selection of "ignorable" characters...', and both of
these bugs are at least laterally related to bug/patch #205387, 'need to exclude
truly invisible default_ignorable_code_point's from draw_string.'

(Thanks to MartijnW for pointing out the connection.)

Both of the above are (ostensibly) Win32:GFX bugs, so you may want to
recategorise this bug -- just a suggestion, of course.
Assignee: selection → nobody
QA Contact: selection
You need to log in before you can comment on or make changes to this bug.