Closed Bug 135678 Opened 22 years ago Closed 20 years ago

[FILE INPUT] image aligned left next to file input makes it the same height

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: M.Hankus, Assigned: john)

Details

Attachments

(3 files)

When there is an image aligned left (or right) and there is a file input next
to it, that control has the same height as image. Sample follows.
(maybe somehow related to 52500)

Expected results: Input should not stretch to the height of image
Seeing this on 0.9.9/OS X as well. Have not seen it in the "wild" though.

Screwing around with the test case I also see this with the following parameters
in the img tag:

align="right"
style="float:left;"
style="float:right;"

Also, it is happening both with and without a "strict" mode triggering doctype.
I'll attach one example (long XHTML Strict Doctype & float:right) in just a second.
confirming
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
QA Contact: madhur → tpreston
-->
Assignee: rods → jkeiser
Priority: -- → P3
Target Milestone: --- → Future
This bug seems to occur with anything floated right, not just images.  Here is
a test case modified by replacing the image with an empty DIV.
This worksforme with a current build.
Status: NEW → RESOLVED
Closed: 20 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: