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

Kang-Hao (Kenny) Lu:
> , regarding 2., I don't see section 4.4 mention anything about
> border-radius (moreover, Chapter 4 Border almost never talks about
> border-radius). Also, 'border-image' properties, albeit reset by
> 'border' shorthand, are describe into another chapter. Thus, 4. 5.
> don't
> match my interpretation and they fall into the sad MAYs. I'm with 3.

Regarding border-radius, I think I agree with you that border-radius is not a "border property" while "border-image" is.

The portions of 4.4 that I was referring was:

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

# The CSS Working Group intends for the ‘border’ shorthand
# to reset all border properties in future levels of CSS as
# well. For example, if a ‘border-characters’ property is
# introduced in the future to allow glyphs as borders, it
# will also be reset by the ‘border’ shorthand.

Because border-radius does not participate in the resetting process...

# The ‘border’ shorthand also resets ‘border-image’ to\
# its initial value

... the intent for it not to be considered a "border property" is implied.


If border-radius was moved to CSS4 (and I'm not suggesting such), then -- in the absence of added language specifying otherwise -- one could argue that border-radius values *would* be set to initial values as part of shorthand processing *and* border-radius would be considered a "border property".

The reason for this is that the language in the first quote above specifically addressed the default behavior of future border properties *and* implies that any property name beginning with "border-" is a "border property" (via the border-characters example).

Received on Wednesday, 28 March 2012 17:57:19 UTC