- From: Anton Prowse <prowse@moonhenge.net>
- Date: Sat, 03 Dec 2011 19:07:56 +0100
- To: www-style@w3.org
- CC: Simon Sapin <simon.sapin@kozea.fr>
On 30/11/2011 18:15, Simon Sapin wrote: > Hi, > > In CSS 2.1, the computed value of the 'content' property is defined as: > > """ > On elements, always computes to 'normal'. On :before and :after, if > 'normal' is specified, computes to 'none'. Otherwise, for URI values, > the absolute URI; for attr() values, the resulting string; for other > keywords, as specified. > """ > > The computed value on other pseudo-elements (ie. :first-line and > :first-letter) is not defined. I suggest changing the first sentence to: > > """ > On elements, :first-line or :first-letter, always computes to 'normal'. > """ > > At least in CSS 2.1, properties can only be applied to elements or > pseudo-elements; and only these four pseudo-elements exist. So this > should covers all cases. In CSS21, "elements" is very often intended to mean "elements and pseudo-elements", but I agree that this isn't so obvious in the paragraph in question because the prose treats :before and :after as if they were not members of the previously-mentioned set. This issue may be considered for errata. Cheers, Anton Prowse http://dev.moonhenge.net
Received on Saturday, 3 December 2011 18:08:32 UTC