Closed Bug 57025 Opened 24 years ago Closed 24 years ago

MAP with display:block; ruins layout of some pages

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 57028

People

(Reporter: buster, Assigned: buster)

References

()

Details

See bug 11431 for the discussion about setting MAP {display:block;} for NS6 RTM.
See bug 56492 for a reduced test case based on the kia page.

The problem is <MAP> usually contains only <AREA>, and therefore usually doesn't
effect layout at all.  But by mapping it to display: block, we introduce two bad
side effects:
1) extra vertical white space
2) inappropriate line breaks

We need some logic in the source that scans the map's children and changes the
display type dynamically between block and none.  As a first step, the parser
can tell layout whether all the children of a <MAP> are <AREA> or not.  But we
need to handle the case where content is added/removed via the DOM as well.

*** This bug has been marked as a duplicate of 57028 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.