Closed Bug 301889 Opened 19 years ago Closed 19 years ago

bidi input duplicates characters if inside directional embedding and direction changes

Categories

(Firefox Build System :: General, defect)

1.0 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 177442

People

(Reporter: raphael, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

This problem is purely a display problem for text-entry boxes is forms.  The
data is shown wrong, but it is sent via the form to the server correctly.

The problem is that certain text entered into text-entry boxes duplicates a
single character.  The duplicate is not next to the original character.  The
problem happens when the text is inside a directional embedding and two adjacent
letters are of different inherent directionality. 

Reproducible: Always

Steps to Reproduce:
1. Open any web page that includes a text-entry box in a form.
2. Enter the following text: HELLOא
3. Note that the text on the previous line has some usually invisible
characters.  It is the following string: \u202bHELLO\u05d0\u202c


Actual Results:  
You will see the alef character (\u05d0) repeated at the right and left end of
HELLO.


Expected Results:  
The alef should appear only once, to the left of HELLO.
This is likely a duplicate of bug 177442.
Component: General → Layout: BiDi Hebrew & Arabic
OS: Linux → All
Product: Firefox → Core
Hardware: PC → All
Version: unspecified → Trunk

*** This bug has been marked as a duplicate of 177442 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Component: Layout: BiDi Hebrew & Arabic → Build Config
OS: All → Linux
Product: Core → Firefox
Hardware: All → PC
Resolution: --- → DUPLICATE
Version: Trunk → 1.0 Branch
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.