Closed
Bug 544212
Opened 14 years ago
Closed 14 years ago
Absolute positioning inside <button> elements doesn't work as intended
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 437722
People
(Reporter: rimas, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
1.16 KB,
text/html
|
Details |
If I have a relatively positioned <button> element, and create an absolutely positioned element inside it, its position is calculated improperly. This issue is important, because absolutely positioned <span> within a relatively positioned <button> is probably the easiest way of implementing scalable styled buttons... This works in Safari, Opera, IE6/7 (sadly, not 8), but fails in Firefox: in 3.6/Mac and 3.7a1/Win, the span is offset depending on padding values of the button; in 3.0/Win, it's not only offset, but also hidden from view.
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Rimas, thanks for the testcase.... This is unfortunately a longstanding issue dating back to a very early (poor) design decision in Gecko. :( We would like to fix it, but no timeframe yet.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Comment 3•13 years ago
|
||
Would love to see something done with this. As we're more able to use things like pseudo-elements, having the ability to absolutely position them (reliably) within their parent is very important. Can we request that this is escalated?
You need to log in
before you can comment on or make changes to this bug.
Description
•