Absolute child of fixed element

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

A fixed positioned div element has an absolutely positioned child div element. The parent has nonzero bottom and left offsets, whilst the child has zero top and left offsets. The stacked layers thus overlap. The parent has a z-index of 1, the child has a z-index of 2, and both have equal dimensions. The desired result is that the child should completely cover the parent, but it does not.

Test page. Workaround is not included.
Reported by LiteraryMoose.

(Orphaned), Opera | Reported on 30 November 2004.

Comments

(Add your own)

Posted by GĂ©rard Talbot on 5 March 2005

1

This is actually bug 123307 in Opera's Bug Tracking System (BTS) and it has been reported a long time ago. Also known as Opera 7.1 Reverse Windowshade Bug. See:

http://www.positioniseverything.net/op-omnibus/rev-window-bug.html

also

http://www.gtalbot.org/BrowserBugsSection/Opera7Bugs/Opera7Bugs.html (see item #12)

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes