- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 9 Jun 2011 14:47:00 -0700
- To: Alex Mogilevsky <alexmog@microsoft.com>
- Cc: Daniel Holbert <dholbert@mozilla.com>, "www-style@w3.org" <www-style@w3.org>
On Thu, Jun 9, 2011 at 2:14 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote: > Is there a precedent for value types like that in other places? > > For example, in CSS2.1 percent is not applicable to border-width. Is setting a percent value making the property invalid or is it setting initial value? Different issue. If you set a property to a value that's not valid for it (like setting 'border-width' to a percentage), it makes the declaration invalid. We're instead dealing with a value that's valid for the property, but only meaningful in certain contexts. This is like setting 'top', 'height', and 'bottom' all together - 'bottom' can only be validly set if either 'top' or 'height' are auto.
Received on Thursday, 9 June 2011 21:47:47 UTC