Percentual width of absolute element is computed relative to wrong block

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 percentual width of an abolutely positioned element should be calculated relative to the containing block (the body, if there is no other absolutely positioned element. Unfortunately Explorer (Win and Mac) and Opera calculate the width relative to a static block that contains the HTML for the absolute element.

Test page Workaround is not included
Reported by: G�rard Talbot.

Explorer 5-6 Windows, Explorer 7 beta 2, Explorer Mac, Opera | Reported on 30 May 2005.

Comments

(Add your own)

Posted by Ingo Chao on 26 June 2005

1

This bug was filed as a bug at the Opera8beta stage with this test page:
http://www.satzansatz.de/cssd/tmp/apboxpercentagewidth.html

Coincedentially, this was discussed in May 2005 in this cssd-thread here
http://archivist.incutio.com/viewlist/css-discuss/57351

There is no workaround.

Posted by Ingo Chao on 26 June 2005

2

Sorry, the css-d thread was in March 2005 here
http://archivist.incutio.com/viewlist/css-discuss/54916

Posted by Gérard Talbot on 25 September 2005

3

I updated the testcase a bit.
I also note that another person has spotted and reported this bug before:

http://www.lutz-peter.hoogi.de/extern/Opera/test5.html

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