RE: [css3-background] clarify which properties in this module apply to ::first-letter and ::first-line

http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html#first-line-pseudo

# The :first-line pseudo-element is similar to an inline-level element, but with certain
# restrictions. The following properties apply to a :first-line pseudo-element: font
# properties, color property, background properties, 'word-spacing', 'letter-spacing',
# 'text-decoration', 'text-transform', and 'line-height'. UAs may apply other properties
# as well.

http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html#first-letter

# These are the properties that apply to :first-letter pseudo-elements: font properties,
# 'text-decoration', 'text-transform', 'letter-spacing', 'word-spacing' (when appropriate),
# 'line-height', 'float', 'vertical-align' (only if 'float' is 'none'), margin properties, padding
# properties, border properties, color property, background properties. UAs may apply
# other properties as well.

http://www.w3.org/TR/css3-background/#the-border-shorthands



fantasai:
>   All background properties
>   All border-radius properties
>   All border-image properties
>
> How did you interpret the conformance requirements on those?

My interpretation is thus:
1. For the 3 sets of properties above, there is no normative text in the CSS3 Background module.  Thus CSS2.1 is the normative reference.
2. CSS3 Background, section 4.4 ["Border Shorthand Properties"] suggests that "border properties" is expanded to include border-radius and border-image.
3. Conformance requires supporting background properties in both first-line and first-letter.
4. Given #2, conformance requires supporting border-radius in first-letter.
5. Given #2, conformance requires supporting border-image in first-letter.
6. Conformant UA may apply border-radius and border-image to first-line (i.e. not a requirement but not prohibited).

Received on Wednesday, 28 March 2012 01:52:50 UTC