donum / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

Absolute positioned divs lose positioning in IE #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a div with position:absolute;top:200px;left:400px;-moz-border-
radius:20px;-webkit-border-radius:20px;background:green;
2. Include curvycorners.js
3.

What is the expected output? What do you see instead?
In Firefox, see the div positioned correctly. In IE 6, 7, and 8, the div 
is positioned at 0,0.

What version of the product are you using? On what operating system?
Running 2.0.3 on Windows Vista Ultimate 64-bit.

Please provide any additional information below.

Original issue reported on code.google.com by wah...@friendsoftheOne.org on 30 May 2009 at 9:03

Attachments:

GoogleCodeExporter commented 9 years ago
This problem cannot be reproduced using the latest SVN version and was 
doubtless 
fixed in rev. 104.

Original comment by c.1%smit...@gtempaccount.com on 31 May 2009 at 5:28

GoogleCodeExporter commented 9 years ago
Hi, I do have the same issue as described above. I am using absolute position 
of the 
divs. In Firefox, see the div positioned correctly. In IE 6, 7, and 8, the div 
is 
positioned at 0,0. Any idea?

Original comment by y.heym...@yahoo.com on 16 Jul 2009 at 2:04

GoogleCodeExporter commented 9 years ago
Yes: you are using a version prior to SVN r104. Suggest using the latest 
version of 
the source, r117, and see whether the problem is fixed there.

Original comment by c.1%smit...@gtempaccount.com on 16 Jul 2009 at 7:01

GoogleCodeExporter commented 9 years ago
i'm using the latest version 2.1 and i've identified an issue that's similar to 
the one described above. I also tested this issue with 2.0.4 it occurred there 
as well.

When padding-bottom is added to a div using curvycorners and an image within 
this div contains a position: absolute; bottom:0, the image will inherit the 
padding. The image should still honor the bottom:0 position no matter what 
otherwise i can add padding to the image if i need it.

I created a test case for this below. Preview the link in both IE and FireFox. 
The image should be flush at the curvy corner border at the bottom, but in IE 
it inherits the 20px padding when it should not.

Test Case 1: http://jsbin.com/ulohi3/4/

Original comment by evan.mo...@gmail.com on 7 Nov 2010 at 2:01