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

RESOLVED WORKSFORME

Status

()

Core
Layout: Form Controls
P3
normal
RESOLVED WORKSFORME
16 years ago
14 years ago

People

(Reporter: Mirek Hankus, Assigned: John Keiser (jkeiser))

Tracking

Trunk
Future
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

16 years ago
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
(Reporter)

Comment 1

16 years ago
Created attachment 77840 [details]
Sample streched file input

Comment 2

16 years ago
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.

Comment 3

16 years ago
Created attachment 77986 [details]
Test case - float:right/long doctype

Comment 4

16 years ago
confirming
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All

Updated

16 years ago
QA Contact: madhur → tpreston

Comment 5

15 years ago
-->
Assignee: rods → jkeiser
Priority: -- → P3
Target Milestone: --- → Future

Comment 6

14 years ago
Created attachment 133689 [details]
Test case with DIV instead of IMG

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
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.