Skip to content

The BIG Reason

Music, opinions, and portfolio of Mark Eagleton, musician and web developer in Northern CA.

Safari 5.1 Double Border RGBA Text Display Bug

I discovered a bug with Safari 1.5 (7534.48.3) that effects text color of block level elements that have a double border with an rgba color value that has an alpha setting lower than 1. Video inside!

I stumbled uppon this bug in Safari 5.1 with a site I built for the Hot Club of San Francisco.

Hovering over linked text or selecting normal text caused its color to change to black in Safari 5.1. It also effected form inputs the same way. It didn’t effect Chrome 14 or any non-webkit browsers. The latest Webkit nightly also did not have the problem.

After about an hour of trouble shooting, I found the cause to be elements with a double border and a color set with an rgba value who’s alpha channel was set less than 1. In the video, you can see the changes I make to the CSS rule that effect the buggy behavior.

I haven’t tested this with other rgba values other than white. I also haven’t tested with other background, text or link colors.

I have not filed a bug as it appears to be corrected in the Webkit nightlies; however, I did feel it would be handy to document this somewheres.