Percentual width of absolute element is computed relative to wrong block

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, Explorer Mac, Opera | Reported on 30 May 2005.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Ingo Chao on 26 June 2005 | Permalink

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.

2 Posted by Ingo Chao on 26 June 2005 | Permalink

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

3 Posted by Gérard Talbot on 25 September 2005 | Permalink

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

4 Posted by Gérard Talbot on 5 September 2007 | Permalink

This bug has been fixed in Internet Explorer 7 and in Opera 9.

Gérard