sonar3 / curved-corner

Automatically exported from code.google.com/p/curved-corner
0 stars 0 forks source link

Problems with ancestor colors #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If there is an enclosing div which has a background color set, then that
color is used instead of the color of the div you want to round the corners of.

This can be trivially demonstrated by changing one line in the example file
from:
        <div class="rel">
 to:
    <div class="rel" style="background-color:#ffffff;">

I have had a look through the code, but can't identify the cause.

Also, I had an onmouseover and onmouseout event for the div, but they seem
to be being destroyed along the way too.

The test page works fine, so am assuming that there must be some 

Original issue reported on code.google.com by gideonyo...@novamind.com on 20 Nov 2009 at 8:40

GoogleCodeExporter commented 8 years ago
A bit of testing and print-debugging suggests that this is at least partly due 
to 
differences in how behaviors work between versions of IE. ]

IE8 and IE6 attach and apply behaviors in the order in which the elements 
appear in the 
DOM.

IE7 applies behaviors in -reverse- DOM order.

Original comment by mcegie...@gmail.com on 7 Jan 2010 at 6:08

GoogleCodeExporter commented 8 years ago
I have this issue as well. Any ideas for a fix?

Original comment by glen...@gmail.com on 8 Jan 2010 at 3:48

GoogleCodeExporter commented 8 years ago
Will look in to this. But not sure I got time to digg in. Thanks for posting 
issue

Original comment by rahnas on 25 May 2010 at 1:32