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

Re: % is not a valid unit for border-width

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 21 Jan 2012 14:54:22 -0800
Message-Id: <2E917FFB-3A07-45E9-BE1C-1205B5D915DC@gmail.com>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, Brian Manthos <brianman@microsoft.com>, Matthew Wilcox <elvendil@gmail.com>, "L. David Baron" <dbaron@dbaron.org>, Lea Verou <leaverou@gmail.com>, "www-style@w3.org" <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On Jan 20, 2012, at 2:13 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Fri, Jan 20, 2012 at 12:34 PM, Sylvain Galineau
> <sylvaing@microsoft.com> wrote:
>> [Tab Atkins Jr.:]
>>> On Fri, Jan 20, 2012 at 12:14 PM, Brian Manthos <brianman@microsoft.com>
>>> wrote:
>>>> Does calc in border-width help?
>>> Given that his reason for not wanting to use box-sizing was that it
>>> wouldn't work in old browsers, I don't think calc() would help.  ^_^
>> Not sure I follow. Old browsers don't support % border-width either so
>> you'll need a newer browser anyway, won't you?
> My comment was in the context of Matt's previous email, which
> contained the line:
> "The solutions are poor - either you use outline and get errors with
> Firefox (and poor line placement) or you use box-sizing, but
> box-sizing can't degrade gracefully."

Old browsers don't support calc() either, and I suspect the fallback also wouldn't be good enough for those wishing for percentage width borders. 
Received on Saturday, 21 January 2012 22:54:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:13 UTC