css1 vertical-align has incosistent behaviour for <img> inside <button> if img has an align attribute

RESOLVED DUPLICATE of bug 50630

Status

()

Core
Layout
RESOLVED DUPLICATE of bug 50630
13 years ago
13 years ago

People

(Reporter: Spiros Ioannou, Unassigned)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040517
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040517

css1 attribute vertical-align is ignored for the image inside the button if the
image has an "align" attribute, and has a strange placement below the text
regardless of the vertical-align value,depending if there is text before of the
image.


See the example. Correct behaviour is also shown.


Reproducible: Always
Steps to Reproduce:

Updated

13 years ago
Assignee: general → nobody
Component: Browser-General → Layout
QA Contact: general → core.layout
align="left" floats the image.  So it's no longer inline, and vertical alignment
doesn't affect its positioning with respect to the line box.

Based on your screenshots, it looks like IE just ignores "align" on the image...
which would be a bug in IE, no?

The fact that having text before the float pushes down the float is bug 50630

*** This bug has been marked as a duplicate of 50630 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.