W3C home > Mailing lists > Public > www-style@w3.org > June 2010

rendering of border edges

From: Niels Matthijs <niels.matthijs@internetarchitects.be>
Date: Wed, 2 Jun 2010 12:27:37 +0100
To: www-style list <www-style@w3.org>
Message-ID: <AB2BD9F502615745B5BACF1B9727CF81016E3C07EF@sha-exch14.shared.ifeltd.com>
Hi all,

Just an interesting thing I noticed, but Firefox 3.6 (and apparently Chrome for Windows) make sure the line created by two differently-colored neighbouring borders is anti-aliased. This ensures a nice visual result.

Hit this when I was trying the css triangle technique using triangles which didn't have the regular 90/45/45 degree layout. When straying from this layout, you end up with ugly jaggy edges in most browsers.

Article and a pic of the result in FF vs the rest can be found:

Maybe something to mention in the border rendering standards?

Niels Matthijs
Received on Wednesday, 2 June 2010 11:31:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:47 UTC