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

Re: [css3-background] border-radius color transitions using gradients recommended but undefined

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 27 Jan 2010 13:19:12 -0500
Message-ID: <4B6083A0.3070700@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 1/27/10 1:09 PM, Tab Atkins Jr. wrote:
> On Wed, Jan 27, 2010 at 11:49 AM, Zack Weinberg<zweinberg@mozilla.com>  wrote:
>> Incidentally, those patches use square dots for borders that are less
>> than three device pixels wide, which I think should be officially
>> allowed.
>
> I think that, when you're dealing with only 2px-wide lines, a square
> *is* round as a degenerate case.

That's highly nonobvious.  If you actually try to draw a circle of that 
size, graphics libraries will do all sorts of things with antialiasing, 
including subpixel anialiasing in some cases, to make it look "round".

It probably needs to be explicitly called out that none of that is 
necessary.

-Boris
Received on Wednesday, 27 January 2010 18:19:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT