Closed
Bug 49559
Opened 24 years ago
Closed 24 years ago
JPN characters disappear at the beginning of a line when they are an anchor for an URL link
Categories
(Core :: Internationalization, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: momoi, Assigned: shanjian)
Details
(Whiteboard: [nsbeta3+]fix checked in.)
Attachments
(4 files)
** Observed with 8/18/2000 Win32 M18 build ** ** Observed (so far) only under Win 98-Japanese ** ** This bug was first reported by a JPN Mozilla volunteer. ** Problem: 1. Create a HREF link and as part of the anchor, insert some Japanese characters. For example, <A HREF=http://.......> JPN_word</A> 2. When displaying this line, make the Browser window smaller so that the right edge of the window is slightly in front of the anchor word created above. 3. So at this point, all characters of "JPN_word" will have moved to 2nd line. 4. But you see that in this particular case, a couple of JPN characters have disppeared. 5. Now if you reload from the source again, the 2 characters get displayed. Looks like somehow re-painting does not occur completely for this type of words when the entire word moves to the next line. Additional notes: I tried the test case below under Japanese 98 and NT4 using the same 8/18/2000 M18 build. But so far I have been able to reproduce this problem under only Win 98-Japanese. I'll attach 2 images below illustrating what the problem looks like. Also the test case.
Reporter | ||
Updated•24 years ago
|
Summary: JPN characters disappear at the beginning of a line when they describe HREF link → JPN characters disappear at the beginning of a line when they describe HREF link
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Look at the 2nd line of this image. Now contrast this with the 2nd image when the line break just occurred.
Reporter | ||
Comment 3•24 years ago
|
||
Reporter | ||
Comment 4•24 years ago
|
||
I'll attach below the test case provided by a JPN Mozilla volunteer.
Reporter | ||
Comment 5•24 years ago
|
||
Reporter | ||
Comment 6•24 years ago
|
||
Note that when you make the Brower window smaller to the point when the anchor word moves to the next line, the word メーリングリスト shows as リングリスト As I said above, I tried this a number of times on NT4 but could not reproduce it. On Win 98-J, it is very to reproduce this problem.
Reporter | ||
Updated•24 years ago
|
Summary: JPN characters disappear at the beginning of a line when they describe HREF link → JPN characters disappear at the beginning of a line when they are an anchor for an URL link
Comment 7•24 years ago
|
||
The test case (attachment 3 [details] [diff] [review]) is in EUC-JP. reassign this to shanjian and mark it nsbeta3 It looks the line break correctly. You can see the first line have the space for the first two characters in the japanese link. However, some code does not paint it when it should. Have we test Linux/Mac ? Have we test Win95J/NTJ ? Win95US / NTUS ?
Comment 8•24 years ago
|
||
IF this problem also happen on Linux/Mac and all other Window. Then this is a generic problem If this problem only happen on Window. Then this may related to the MeasureText routine that troy #ifdef XP_WIN (or XP_PC) If this problem only happen on Japanese version of Win95/98 but not Japanese NT nor US 95/NT, then it is related to the GFX code erik work around the Japanese 95/98 GDI crashing problem nsbeta3
Keywords: nsbeta3
Comment 9•24 years ago
|
||
IF this problem also happen on Linux/Mac and all other Window. Then this is a generic problem If this problem only happen on Window. Then this may related to the MeasureText routine that troy #ifdef XP_WIN (or XP_PC) If this problem only happen on Japanese version of Win95/98 but not Japanese NT nor US 95/NT, then it is related to the GFX code erik work around the Japanese 95/98 GDI crashing problem
Comment 10•24 years ago
|
||
I cannot reproduce this problem on Mac nsbeta2
Comment 11•24 years ago
|
||
I think the bug is in those #ifdef _WIN32 code inside the nsTextFrame.cpp . If I change them into #ifdef 0 and recompile it, I cannot reproduce them. So, we should look at the #ifdef _WIN32 code in the nsTextFrame.cpp reassign to shanjian
Assignee: nhotta → shanjian
Comment 12•24 years ago
|
||
Marking nsbeta3+ per I18N bug triage.
Priority: P3 → P1
Whiteboard: [nsbeta3+]
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Whiteboard: [nsbeta3+] → [nsbeta3+]wait for code review
Comment 14•24 years ago
|
||
Need some discussion.
Assignee | ||
Comment 15•24 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: [nsbeta3+]wait for code review → [nsbeta3+]fix checked in.
You need to log in
before you can comment on or make changes to this bug.
Description
•