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

RE: rendering of border edges

From: Niels Matthijs <niels.matthijs@internetarchitects.be>
Date: Thu, 3 Jun 2010 13:23:12 +0100
To: Sylvain Galineau <sylvaing@microsoft.com>, www-style list <www-style@w3.org>
Message-ID: <AB2BD9F502615745B5BACF1B9727CF81016E432B11@sha-exch14.shared.ifeltd.com>
Hey Sylvain,

I can't use the testpage in the image on my blog (the site is still a work in progress and I can't just release the design).
However! Did make a single test page that shows a live example and a composite image of the rendering in all (important) other browsers:
 FF3.6, Safari 4, Chrome 5, Opera 10.5, IE9 PP2, IE8. IE7 and IE6 behave the same as IE8.

All screenshots taken on a windows PC, Mac rendering has been known to vary in this particular case (fe, Chrome still shows jaggy edges on Mac here).
IE9 PP2 renders it fine, kudos to Microsoft!

Check the page on:

Niels Matthijs

From: Sylvain Galineau [mailto:sylvaing@microsoft.com]
Sent: 02 June 2010 10:13 PM
To: Niels Matthijs; www-style list
Subject: RE: rendering of border edges

Would you be able to share a link to the page you used for the screenshots at the end of the post ? Thanks !

From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Niels Matthijs
Sent: Wednesday, June 02, 2010 4:28 AM
To: www-style list
Subject: rendering of border edges

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 Thursday, 3 June 2010 12:24:19 UTC

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