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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 20 Mar 2010 07:54:17 -0700
Message-ID: <dd0fbad1003200754q3c36724flef1469ffb0c74c5c@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, CSS 3 W3C Group <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
On Sat, Mar 20, 2010 at 2:24 AM, François REMY
<fremycompany_pub@yahoo.fr> wrote:
> My proposal is to use a linear gradient instead of a
> complex gradient because generating a linear gradient
> is a task that can be accelerated by hardware and that's
> pretty simple, while other proposals like conic gradient
> are much complex and would need bitmap generation
> that would not be hardware-boostable.
>
> The fact is that a linear gradient can lead to very good
> results, so there's no need to use more complex solutions.

Can you show how you expect things to look in the more complex cases
that we explored?  Particularly, the case where the border-width is
larger than the radius, so that there is a sharp inner corner, as well
as the case where the box is *all* border with maximum border-radius
(that is, an oval of border paint).

~TJ
Received on Saturday, 20 March 2010 14:55:10 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:44 UTC