Closed Bug 121186 Opened 23 years ago Closed 21 years ago

Negative margin-top not working when set on table.

Categories

(Core :: Layout: Tables, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: ronbu, Unassigned)

Details

(Keywords: testcase, Whiteboard: [bae:20020131])

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7+) Gecko/20020120 BuildID: 2002012008 A negative CSS margin-top is not working when it is set on a TABLE element. Reproducible: Always Steps to Reproduce: 1. Make an HTML page with a table below another block element. 2. Set a negative margin-top to the table. 3. Save and access the page. Actual Results: The table is displayed below the other element as if there is no margin-top set. Expected Results: The table should be moved up the amount of space the margin-top indicates. Works as expected in IE 6 and Opera 6.
Attached file Example of this bug
Confirming, linux build 2002-01-29-21. To layout.
Assignee: dbaron → attinasi
Status: UNCONFIRMED → NEW
Component: Style System → Layout
Ever confirmed: true
OS: Windows 98 → All
QA Contact: ian → petersen
Hardware: PC → All
I'm attaching a screen grab showing how the test case is rendered in the 20020131 build, in quirks mode (the lime background) and in standard mode (white background). I also displayed it in IE6 and Opera6 for comparison. set it to moz1.2
Priority: -- → P3
Whiteboard: [bae:20020131]
Target Milestone: --- → mozilla1.2
This problem can also be seen on W3C's site: http://www.w3.org/MarkUp/Guide/Style (colors table)
.
Assignee: attinasi → table
Component: Layout → Layout: Tables
Priority: P3 → --
QA Contact: cpetersen0953 → madhur
Target Milestone: mozilla1.2alpha → ---
testcase provided in comment 1 this is seen in quirks and standards mode as well. IE renders it correctly.
Keywords: testcase
Priority: -- → P3
Target Milestone: --- → Future
Also affects negative margin-left, as well as negative values in margin: x x x x;
the testcase is rendered as other browsers do, winxp 2004080708
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: