Closed Bug 416634 Opened 16 years ago Closed 16 years ago

Inputs no longer stretched by "position:absolute; left:#; right:#" style

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 410146

People

(Reporter: aguertin+bugzilla, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Spun off from bug 379191:

In Firefox 2, <input type="text"> with style "position: absolute; left: #px; right: #px" would be stretched to have its ends at the places specified by left and right, the same way divs do. In trunk nightlies, this is no longer the case.

According to bug 379191, this regressed sometime between the end of November 2006 and the end of January 2007, so I'm making a guess that it was the reflow branch.

Testcase in URL field.
Flags: blocking1.9?
http://www.w3.org/TR/CSS21/visudet.html#abs-replaced-width is pretty clear that our new behavior is correct.  (I think there's another bug somewhere about this change, where we made the same change for height.)
Attaching testcase from URL field.
(In reply to comment #1)
> http://www.w3.org/TR/CSS21/visudet.html#abs-replaced-width is pretty clear that
> our new behavior is correct.

Ah, if that's the case then just go ahead and mark this invalid. Although, inputs have intrinsic widths? 
> Although, inputs have intrinsic widths? 

They're replaced elements; that's the part that matters.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: