W3C home > Mailing lists > Public > www-style@w3.org > March 2012

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

From: Brian Manthos <brianman@microsoft.com>
Date: Wed, 28 Mar 2012 17:56:28 +0000
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>, WWW Style <www-style@w3.org>
CC: fantasai <fantasai.lists@inkedblade.net>
Message-ID: <9710FCC2E88860489239BE0308AC5D171294F490@TK5EX14MBXC264.redmond.corp.microsoft.com>
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:


# 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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:12 UTC