Closed
Bug 180785
Opened 23 years ago
Closed 23 years ago
adding empty ul via dhtml does not properly account for bottom margin
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
mozilla1.3alpha
People
(Reporter: will, Unassigned)
References
()
Details
Attachments
(1 file, 1 obsolete file)
1020 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a) Gecko/20021118
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3a) Gecko/20021118
This page contains a script that adds an empty ul to a form with a submit button
on it. When trying to click the top of the button the screen will redraw moving
the button down, but there is no action performed. If the click is low enough
then it hits where the redrawn button is and it works
Reproducible: Always
Steps to Reproduce:
1.Click at top of button
Actual Results:
The button moves down and there is no submission.
Expected Results:
Submitted the form.
Reporter | ||
Comment 1•23 years ago
|
||
![]() |
||
Comment 2•23 years ago
|
||
This is a layout bug. The button moves, so the mouseup is not on the button
(unless you drag the pointer there before releasing), so there is no click event
on the button.
It looks like the <ul>'s bottom margin doesn't kick in properly when it's
inserted into the DOM....
Assignee: alexsavulov → block-and-inline
Status: UNCONFIRMED → NEW
Component: Form Submission → Layout: Block & Inline
Ever confirmed: true
OS: Windows NT → All
QA Contact: vladimire → ian
Hardware: PC → All
Summary: adding empty ul via dhtml causes page to not paint correctly → adding empty ul via dhtml does not properly account for bottom margin
![]() |
||
Comment 3•23 years ago
|
||
Attachment #106699 -
Attachment is obsolete: true
![]() |
||
Comment 4•23 years ago
|
||
Oh, setting zero for margin-bottom and a nonzero margin-top does not make this
bug appear.
Fix to bug 44242 checked in to trunk, 2002-11-28 11:29 PST.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.3alpha
You need to log in
before you can comment on or make changes to this bug.
Description
•