W3C home > Mailing lists > Public > www-style@w3.org > September 2002

WD-css3-background-20020802 comments

From: Etan Wexler <ewexler@stickdog.com>
Date: 27 Sep 2002 17:00 -0700
To: www-style@w3.org
Message-ID: <comments-WD-css3-background-20020802@d20020927.etan.wexler>

Following are comments on the CSS3 backgrounds draft, <http://www.w3.org/TR/2002/WD-css3-background-20020802/>.



3. Background


"Margins are always transparent so the background of the parent box always shines through."

The term "parent box" is undefined and anyway off the mark.  Positioned elements margins can let show the background and content of arbitrary elements.  I suggest "Margins are always transparent and so show whatever is behind them."


"Background properties are not inherited, but the parent box's background will shine through by default because of the initial 'transparent' value on 'background-color'."

Change to "Background properties are not inherited, but the initial 'transparent' value on 'background-color' meets the normal expectation that a background appear uninterrupted."


"User agents should observe the following precedence rules to fill in the background: if the value of the 'background' property for the HTML element is different from 'transparent' then use it, else use the value of the 'background' property for the BODY element."

Define "use".  This passage is underspecified.



3.9. The 'background-quantity' property


The interaction with 'background-repeat' is undefined.  In any case I suggest subsuming the 'background-quantity' functionality into 'background-repeat':

Name: 	background-repeat 
Value: 	[ repeat | repeat-x | repeat-y ] <integer>? | no-repeat | inherit 
Initial: 	repeat 
Applies to: 	all elements 
Inherited: 	no 
Percentages: 	N/A 
Media: 	visual

Or maybe
Value: 	[ [ repeat | repeat-x | repeat-y ] || <integer>? ] | no-repeat | inherit 

Subsuming the 'background-quantity' functionality into 'background-repeat' not only eliminates a property to the benefit of imlementers but is better for multi-level style sheets.  Observe the following use of graceful degradation.

  element {
    background-repeat: no-repeat;
    background-repeat: repeat 2;
    }
Received on Friday, 27 September 2002 19:52:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:16 GMT