Closed Bug 53441 Opened 24 years ago Closed 22 years ago

Doesn't reproduce the correct ASCII character in <ALT> text while an image is loading

Categories

(Core :: Layout, defect, P3)

x86
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: fede, Assigned: waterson)

References

()

Details

(Keywords: helpwanted, testcase, Whiteboard: [Hixie-P4])

Attachments

(2 files)

I don't mean the text in "labels" over the images, but an ASCII character 
(&#146;) inside an image, while the image itself is loading. I see, instead, a 
square on Win 95 and a "?" on Win NT.
I'm browsing with BUILD ID: 2000091508 M18 nightly
See the big blue image (bit TOUR&#146;s) in the page
over to layout.
Assignee: asa → clayton
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout
Ever confirmed: true
QA Contact: doronr → petersen
Re-assigning 5 bugs from Clayton's list to Heikki for further triage...
Assignee: clayton → heikki
NN 4.7 gets this right (on Linux, even), adding keywords. I was unable to test 
Mozilla on Linux at this time, but I would guess this bug is cross platform.

I think the fix should go into nsImageFrame::DisplayAltText(). I am guessing 
this is a job for rods@netscape.com.
Assignee: heikki → rods
Keywords: 4xp
Attached file small testcase
This looks like a parser bug to me. I dumped the content and it has some 
unprintable char.
Assignee: rods → harishd
The problem could probably be in nsString::Append code. Adding waterson to the 
CC list for input.
Status: NEW → ASSIGNED
Probably string related. Reassigning to waterson & ccing myself.
Assignee: harishd → waterson
Status: ASSIGNED → NEW
Upon managerial request, adding the "testcase" keyword to 84 open layout bugs that
do not have the "testcase" keyword and yet have an attachement with the word
"test" in the description field. Apologies for any mistakes.
Keywords: testcase
Keywords: helpwanted
Target Milestone: --- → Future
Status: NEW → ASSIGNED
Seems like a valid HTML bug; we are indeed handling the entity differently if it
is in the attribute as opposed to in the markup proper. Taking QA.
Blocks: html4.01, alttext
OS: Windows 95 → All
QA Contact: petersen → ian
Whiteboard: [Hixie-P4]
No longer blocks: alttext
Read the thread spawned from the following post:

http://groups.google.com/groups?hl=en&selm=9s453v%24a13%241%40sun-cc204.lut.ac.uk

&#146; is some control code. The entity you want to use is &#8217; I suppose.

(see especially in the thread the bit about Google indexing the three-digit
control chars as such, and not as printed characters).

Should probably be invalid.
agreed
Woah, woah.

This is valid, because we should do the same thing in attributes as in normal
markup. We don't on Windows, last I checked (we do on Linux now, though, so
maybe that has been fixed).
Yeah, it's fixed on Windows too. (2002071408 WinME)

Should have paid more attention to what the problem was.
References
----------

http://www.wikipedia.org/wiki/ISO_8859-1

http://www.alanwood.net/unicode/latin_1_supplement.html

http://www.unicode.org/charts/PDF/U0080.pdf

Unicode and other references indicates that code position 146 (x92) is for
Private Use 2 (PU2) according to references. 
Windows-1252 displays a right single quotation mark.
I think this bug is invalid.
Yeah, seems to me working normally. WFM.
No longer blocks: html4.01
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: