Closed Bug 20687 Opened 25 years ago Closed 25 years ago

[4.xP] {css2} BODY absolute-positioning causes absolute-positioned links to break

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: s.marshall, Assigned: troy)

References

()

Details

(Keywords: css2)

If you use the CSS position:absolute on both BODY and a DIV within that BODY,
then links in the DIV do not work. They are drawn as links but clicking on them
has no effect.

This works in NN4.7 and IE5, and breaks in Mozilla 1999120208 build.

Following code is the same as the test case (first URL) above. (Second URL is my
real site which breaks.) If you comment out position:absolute on BODY then it
works.

<html>
<head>
<style><!--
.fpcontents0
  {
  position:absolute;
  left:283px;
  top:147px;
  }
BODY
  {
  position:absolute;
  }
--></style>
</head>
<body>
<div class=fpcontents0>
<a href="hi.html">hi</a>
</div>

</body>
</html>

Apologies if this is a duplicate, I looked through the list of CSS bugs but
didn't find it.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Okay, I made a change and this should work correctly now

BTW, nice Web pages
QA Contact: petersen → chrisd
Status: RESOLVED → VERIFIED
Using 12/7 build, verified fixed.
Keywords: css2
Migrating from {css2} to css2 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
You need to log in before you can comment on or make changes to this bug.