Closed
Bug 92473
Opened 23 years ago
Closed 23 years ago
Overwrite character set does not work inside Text and Textarea.
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: teruko, Assigned: shanjian)
References
()
Details
(Keywords: intl, Whiteboard: patch available, need r/sr)
Attachments
(4 files)
1.88 KB,
patch
|
Details | Diff | Splinter Review | |
620 bytes,
text/html
|
Details | |
539 bytes,
text/html
|
Details | |
4.83 KB,
patch
|
Details | Diff | Splinter Review |
Overwrite character set does not work inside Text and Textarea. Steps of reproduce 1. Launch Browser 2. Clean the cash or creat new profile 3. Go to the following urls http://babel/tests/browser/html/sjis_no_meta/test-text_sjis.html for text http://babel/tests/browser/html/sjis_no_meta/test-form_sjis1.html for textarea Since these page do not have meta charset info, Japanese characters are not displayed correctly. 4. Select menu View | Character coding->More->East Asain->Japanese (Shift_JIS) Actual result, Inside Text and TextArea, Japanese characters are not displayed correctly. Expected result, Inside Text and TextArea, Japanese characters are diaplayed correctly. Tested 7-25-0.9.2 Win32, Mac, and Linux build. I tested this in 6.1 PR1. I could reproduce this.
Reporter | ||
Updated•23 years ago
|
QA Contact: andreasb → teruko
Summary: Overwrite character set does not work inside Text and Textarea. → Overwrite character set does not work inside Text and Textarea.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•23 years ago
|
||
For normal reload or charset reload, the content of text field and textarea are preserved. This is an unwanted feature in case of charset reload. I am still looking for the place where this preservation is done.
Assignee | ||
Comment 3•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Whiteboard: patch available, need r/sr
Assignee | ||
Comment 4•23 years ago
|
||
radha, could you review my fix? That change in nsDocShell.cpp is most sensitive. thanks!
Comment 5•23 years ago
|
||
The patch looks good, as long as it avoids the historystate restoration *only* for charset change. Please make sure that form field values are restored for simple reloads. r=radha
Assignee | ||
Comment 6•23 years ago
|
||
Yes, for normal reload, text field values are restored.
Assignee | ||
Comment 7•23 years ago
|
||
blizzard, can you sr this one?
Comment 8•23 years ago
|
||
sr=blizzard
Assignee | ||
Comment 9•23 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•23 years ago
|
||
Verified as fixed in 8-22 trunk build.
Status: RESOLVED → VERIFIED
Comment 11•17 years ago
|
||
I imagine the testcase was something like this.
Comment 12•17 years ago
|
||
Comment 13•17 years ago
|
||
Updated•17 years ago
|
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•