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

http://www.w3.org/TR/CSS2/syndata.html#length-units would seem to
indicate that % is a length, and
http://msdn.microsoft.com/en-us/library/ms537660(v=vs.85).aspx
expressly states that it is a length unit. Regardless of the naming,
it is used as one and it makes no sense that border-width does not
adhere to the behaviour of every other property that takes length
units (width, padding, etc).

Using calc and box-sizing to get around this seems "quirky" at best,
and likely to confuse (IMO).

Received on Thursday, 5 January 2012 16:34:55 UTC