Re: Values of CSS properties

Hi, Lea: Are you talking about where it lists the values:

Values

20px 40px
     Any standard CSS...

Yes, I agree: <length> is better than some arbitrary example value.

J

----------------------------
julee@adobe.com
@adobejulee





From:  Lea Verou <lea@w3.org>
Date:  Thursday, July 25, 2013 1:25 PM
To:  WebPlatform Public List <public-webplatform@w3.org>
Subject:  Values of CSS properties


I see this pattern in many CSS properties. For example,
http://docs.webplatform.org/wiki/css/properties/background-positionSome

have generic data types as values (e.g. length), others try to use
specific examples.
What¡¯s the correct way?
Personally, I think specific examples can be confusing, since the reader
needs to extrapolate the general rule.

Lea Verou
W3C developer relations
http://w3.org/people/all#lea ? http://lea.verou.me ? @leaverou

Received on Thursday, 25 July 2013 20:32:06 UTC