Closed
Bug 412352
Opened 17 years ago
Closed 16 years ago
Inconsistent layout with <input type="file">, position:absolute
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(4 files)
Testcase 1 (identical to layout/forms/crashtests/386554-1.html) demonstrates a subtle difference in dynamic vs. static rendering: the anti-aliasing pixels are cut off in the testcase but not in the reference. Testcase 2 makes the problem more clear using a border: the width of the div is different by several pixels.
Reporter | ||
Comment 1•17 years ago
|
||
Reporter | ||
Comment 2•17 years ago
|
||
Reporter | ||
Comment 3•17 years ago
|
||
Reporter | ||
Comment 4•17 years ago
|
||
Reporter | ||
Comment 5•17 years ago
|
||
> identical to layout/forms/crashtests/386554-1.html
Oops, not quite identical. I removed a "top: 100%".
Comment 6•17 years ago
|
||
Is this a regression? Or Mac-only? I can't reproduce in a 2007-11-27-02 Seamonkey build on Linux.
Reporter | ||
Comment 7•17 years ago
|
||
I can reproduce with testcase 2 / reference 2 in a 2007-11-11 Firefox build on Mac. So I guess it's Mac-only.
Comment 8•17 years ago
|
||
Does the problem go away if you set -moz-appearance:none on the file input?
Reporter | ||
Comment 9•17 years ago
|
||
Setting "-moz-appearance: none" has no effect on the appearance of file upload controls and does not make this bug go away.
Comment 10•17 years ago
|
||
Yeah, I can reproduce on Mac but definitely not on Linux. Any incremental reflow (e.g. opening the findbar) makes the testcase look like the reference.
Comment 11•17 years ago
|
||
So... the frame geometry per se is the same between the two testcases. The overflow areas, however, are different. In particular, the overflow rect width of the button is different by 5px or so. I'm not quite sure why there are these random overflow rects all over this testcase, to be honest (e.g., why does the text input have 4px horizontal overflow to the left?). But that 5px difference in the overflow rect is what causes the different rendering here. roc, any idea what's up?
Nope. I don't think this is going to block 1.9 though...
Reporter | ||
Comment 13•16 years ago
|
||
WFM, Mac trunk debug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Flags: in-testsuite?
Reporter | ||
Updated•16 years ago
|
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•