Closed Bug 337568 Opened 18 years ago Closed 15 years ago

image size specification is used for alt text too

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 223764

People

(Reporter: jan.lana, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060326 Firefox/1.5.0.3 (Debian-1.5.dfsg+1.5.0.3-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060326 Firefox/1.5.0.3 (Debian-1.5.dfsg+1.5.0.3-2)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><body>
<a href="link.html"><img src="nonexistent.gif" width="30" height="30" align="top" border="0" alt="IMG"></a><a href="link">baseline</a>
</body></html>

Reproducible: Always

Steps to Reproduce:
1. open the example in browser

Actual Results:  
"IMG" underline is too low

Expected Results:  
"IMG" and "baseline" underline should be in the same height


If you remove the width and height attributes or put a char between '..."IMG">' and '</a>', the problem does not occure.
Here with a trunk build and with Firefox 1.5, IMG is on the same line as baseline. So it just looks like "IMGbaseline".
Can you try with a official build from mozilla.org?
Comment on attachment 221696 [details]
demonstration of the bug

tested on Debian 'etch' x86
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20060510 Minefield/3.0a1 - Build ID: 0000000000
WFM.
I can reproduce the result seen in the attached screenshot. This is an issue in Almost Standards Mode.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: