Closed
Bug 551923
Opened 15 years ago
Closed 15 years ago
wrong absolute positioning in button tags
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 437722
People
(Reporter: joergschiller, Unassigned)
Details
Attachments
(1 file)
799 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100218 Gentoo Firefox/3.6
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100218 Gentoo Firefox/3.6
Trying to position an child element of button with absolute centers top:0 vertically in button.
bottom:0 also doesn't work as expected.
Reproducible: Always
Steps to Reproduce:
1. html: <button><div>foo</div></button>
2. css: button { position: relative }
3. css: button div { position: absolute; top: 0; left: 0; }
Actual Results:
<div> is position vertically centered in <button>
Expected Results:
<div> should be position top in <button>
Comment 2•15 years ago
|
||
Comment 3•15 years ago
|
||
Precisely.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•