2.1.89 [CSS-Level2-2009] Section 14.2.1, Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'

V0138:

The specification states:

 'background-color'
  
 Value:                 <color> | transparent | inherit
 Initial:               transparent
 Applies to:            all elements 
 Inherited:             no
 Percentages:           N/A
 Media:                 visual
 Computed value:        as specified
  
 This property sets the background color of an element, either a <color> value or 
 the keyword 'transparent', to make the underlying colors shine through.

Quirks Mode and IE7 Mode (All Versions)

The following variations apply:

  • RGB values for background-color given as positive integers are not supported.

  • Background color is not supported when the display property has a value of table-column-group or table-column.

IE7 Mode (All Versions)

  • The inherit value of the background-color property is not supported.

V0139:

The specification states:

 'background-image' 
  
 Value:                 <uri> | none | inherit
 Initial:               none
 Applies to:            all elements 
 Inherited:             no
 Percentages:           N/A
 Media:                 visual
 Computed value:        absolute URI or none

Quirks Mode and IE7 Mode (All Versions)

The following variations apply:

  • The inherit value of the background-image property is not supported.

  • The background-image property is not supported when the display property is set to table-column-group or table-column.

V0140:

The specification states:

 'background-repeat' 
  
 Value:                 repeat | repeat-x | repeat-y | no-repeat | inherit
 Initial:               repeat
 Applies to:            all elements 
 Inherited:             no
 Percentages:           N/A
 Media:                 visual
 Computed value:        as specified

Quirks Mode and IE7 Mode (All Versions)

The inherit value of the background-repeat property is not supported.

V0141:

The specification states:

 'background-attachment' 
  
 Value:n                scroll | fixed | inherit
 Initial:               scroll
 Applies to:            all elements 
 Inherited:             no
 Percentages:           N/A
 Media:                 visual
 Computed value:        as specified

Quirks Mode and IE7 Mode (All Versions)

The inherit value of the background-attachment property is not supported.

IE7 Mode (All Versions)

A background image attached to the body scrolls with the viewport rather than the body's containing block.

V0142:

The specification states:

 'background-position' 
  
 Value:                 [ [ <percentage> | <length> | left | center | right ] [ 
 <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] 
 || [ top | center | bottom ] ] | inherit
 Initial:               0% 0%
 Applies to:            all elements 
 Inherited:             no
 Percentages:           refer to the size of the box itself
 Media:                 visual
 Computed value:        for <length> the absolute value, otherwise a percentage

Quirks Mode and IE7 Mode (All Versions)

The inherit value of the background-position property is not supported.

Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)

The background origin of an inline element is not adjusted to reflect vertical alignment.

C0032:

The specification states:

 <percentage> 
 A percentage X aligns the point X% across (for horizontal) or down (for vertical) the image with the point X% across (for horizontal) or down (for vertical) the element's padding box. For example, with a value pair of '0% 0%',the upper left corner of the image is aligned with the upper left corner of the padding box. A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of the padding box. With a value pair of '14% 84%', the point 14% across and 84% down the image is to be placed at the point 14% across and 84% down the padding box

All Document Modes (All Versions)

The background-position of a table-* element is incorrectly treated as being relative to the top left corner of the table box.

C0033:

The specification states:

 <length> 
 A length L aligns the top left corner of the image a distance L to the right of (for horizontal) or below (for vertical) the top left corner of the element's padding box. For example, with a value pair of '2cm 1cm', the upper left corner of the image is placed 2cm to the right and 1cm below the upper left corner of the padding box.

All Document Modes (All Versions)

The background-position of a table-* element is incorrectly treated as being relative to the top left corner of the table box.

V0143:

The specification states:

 'background'
  
 Value:                 [<'background-color'> || <'background-image'> || 
 <'background-repeat'> || <'background-attachment'> || <'background-position'>] | 
 inherit
 Initial:               see individual properties
 Applies to:            all elements 
 Inherited:             no
 Percentages:           allowed on 'background-position'
 Media:                 visual
 Computed value:        see individual properties

Quirks Mode and IE7 Mode (All Versions)

The background property is not supported when the display property is set to table-column-group or table-column.

IE7 Mode (All Versions)

The inherit value of the background property is not supported.

Show: