Closed Bug 267116 Opened 20 years ago Closed 20 years ago

[MARGIN-C] An empty outlined element is not collapsing margins

Categories

(Core :: Layout: Block and Inline, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041031 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041031 Firefox/0.9.1+

This is only happen in trunk (1.8a) builds.
See upcoming testcase.
Originally seen at: http://www.hit.uk.net/menu.html

When you tab through the elements, you should not see a position shifting of the
content (the green <p> with "http://www.hit.uk.net/index.htm" in it should not
shift downward).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Content shifts downward.

Expected Results:  
It should stay where it is.
Attached file Testcase
This bug happens in quirks and in Standards mode.
Blocks: 261196
Keywords: testcase
OS: Windows 2000 → All
Summary: An empty outlined element is not collapsing margins → [MARGIN-C] An empty outlined element is not collapsing margins
roc, any idea why margins aren't collapsing here?
Not off the top of my head. There's a few things it could be. Martjin, do you
still have that build with my big margin-collapse patch, and if so, does it fix
this bug?
Gosh, you're right Robert. This bug seems fixed by your big margin-collapse
patch. Should have tested that before.
Depends on: 209694
Fixed by bug 209694
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: