Closed Bug 294419 Opened 19 years ago Closed 19 years ago

The input cursor is misshapen in text input boxes and textareas when page has international text.

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 288839

People

(Reporter: neilrqm, Assigned: mkaply)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When a page has non-standard-ASCII text in the body or title (or possibly other
places), the cursor in text entry areas has a dot attached to it.

Example:
- Page with international text: http://www.csc.uvic.ca/~nrqm/cursor_intl.html
- Same page without international text:
http://www.csc.uvic.ca/~nrqm/cursor_nointl.html

The first example has Arabic text in the page body, and the second example has
just standard ASCII text.  Click on the textarea box to see the misshapen cursor.

If it doesn't work for others, here is what I see:
http://www.csc.uvic.ca/~nrqm/pic/cursor.png

Reproducible: Always

Steps to Reproduce:
1. Go to a web site with international text and a text entry area.
2. Click on the text entry area.
3. That's pretty much it.

Actual Results:  
The entry cursor had a few-pixel lump growing out its side.

Expected Results:  
The entry cursor should just be a vertical bar.

I'm told it happens in Netscape, too.  It doesn't happen in Internet Explorer or
Opera.
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050516
Firefox/1.0+

I can see this. It looks like the cursor equivalent of a mouse dropping.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050516
Firefox/1.0+ ID:2005051623
I also see the described behaviour; the caret is rendered incorrectly.
Or is it incorrect? I believe that caret is the BiDi caret to show which
direction (left-to-right or right-to-left) the language is in. So I guess this
could be expected behaviour?
(In reply to comment #3)
> Or is it incorrect? I believe that caret is the BiDi caret to show which
> direction (left-to-right or right-to-left) the language is in. So I guess this
> could be expected behaviour?

That's a clever idea!  If that's the case though, it still works incorrectly. 
In the Arabic text, the cursor is unchanged.

As an addendum to the original report, the cursor also renders incorrectly on a
page with international text when using caret-browsing mode.  The page-wide
caret has the funny dot thing.  It also doesn't change between standard ASCII
text and Arabic, as it should if it's supposed to indicate text direction.
-> BiDi
-> Trunk
Assignee: nobody → mozilla
Component: General → Layout: BiDi Hebrew & Arabic
Product: Firefox → Core
QA Contact: general → zach
Version: unspecified → Trunk
Keywords: testcase

*** This bug has been marked as a duplicate of 288839 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: