2.1.71 [CSS-Level2-2009] Section 11.1.2, Clipping: the 'clip' property


The specification states:

 Value:                 <shape> | auto | inherit
 Initial:               auto
 Applies to:            absolutely positioned elements
 Inherited:             no
 Percentages:           N/A
 Media:                 visual
 Computed value:        'auto' if specified as 'auto', otherwise a rectangle with four values,         each of which is 'auto' if specified as 'auto' and the computed length otherwise
 The 'clip' property applies only to absolutely positioned elements.

Quirks Mode and IE7 Mode (All Versions)

The inherit value of the clip property is not supported.


The specification states:

 The element does not clip.

Quirks Mode and IE7 Mode (All Versions)

For positioned elements, clip:auto is treated as clip:rect(auto,auto,auto,auto).


The specification states:

 In CSS 2.1, the only valid <shape> value is: rect(<top>, <right>, <bottom>, <left>) 
 where <top> and <bottom> specify offsets from the top border edge of the box, and 
 <right>, and <left> specify offsets from the left border edge of the box. 
 Authors should separate offset values with commas. User agents must support 
 separation with commas, but may also support separation without commas (but not a 
 combination), because a previous revision of this specification was ambiguous in 
 this respect.

Quirks Mode (All Versions)

Offset separation with a combination of commas and white spaces is supported.

IE7 Mode (All Versions)

Separation with commas is not supported.


The specification states:

 An element's clipping region clips out any aspect of the element (e.g., content, 
 children, background, borders, text decoration, outline and visible scrolling 
 mechanism — if any) that is outside the clipping region. Content that has been 
 clipped does not cause overflow.

Quirks Mode and IE7 Mode (All Versions)

Clipped content causes overflow; while the scrollbar is drawn, it will not be active.