9.9.1 Specifying the stack level: the 'z-index' property

Chapter 9 - Visual formatting model - 9.9.1 Specifying the stack level: the 'z-index' property

Go to the relevant page of the specification.

z-index-001 (32bit, may)
Z-index set to minimum value minus 1
The property z-index set to a minimum value minus 1 for a 32-bit integer is correctly handled.
z-index-002 (32bit, may)
Z-index set to minimum value
The property z-index set to a minimum value for a 32-bit integer is correctly handled.
z-index-003 (32bit, may)
Z-index set to minimum value plus 1
The property z-index set to a minimum value plus 1 for a 32-bit integer is correctly handled.
z-index-004
Z-index set to zero prefixed with a minus sign
The property z-index set to '0' prefixed with a minus sign is read as value '0'.
z-index-005
Z-index set to zero
The property z-index with a zero value is read and applied as the value '0'.
z-index-006
Z-index set to zero prefixed with a plus sign
The property z-index set to '0' prefixed with a plus sign is read as value '0'.
z-index-007
Z-index set to a nominal value
The property z-index set to a nominal value is correctly read and applied.
z-index-008
Z-index set to a nominal value prefixed with a plus sign
The property z-index set to nominal value and prefixed with a plus sign is read the same as the value without the plus sign.
z-index-009 (32bit, may)
Z-index set maximum value minus 1
The property z-index set to a maximum value minus 1 for a 32-bit integer is correctly handled.
z-index-010 (32bit, may)
Z-index set to the maximum value
The property z-index set to a maximum value for a 32-bit integer is correctly handled.
z-index-011 (32bit, may)
Z-index set to maximum value prefixed with a plus sign
The property z-index set to a maximum value for a 32-bit integer, prefixed with a plus sign is correctly handled.
z-index-012 (32bit, may)
Z-index set to maximum value plus 1
The property 'z-index' set to a maximum value plus 1 for a 32-bit integer is correctly handled.
z-index-013
Z-index: auto results in the same stack level as parent element
The property z-index set to 'auto' results in the same stacking level as its parent element.
z-index-014
Z-index: inherit sets a value the same as parent element's value
The property z-index set to 'inherit' sets a value the same as parent element's computed value.
z-index-015 (invalid)
z-index - integer value
Besides 'auto' and 'inherit' keyword values, z-index property can only accept an integer value. An integer consists of one or more digits '0' to '9'.
z-index-016 (invalid)
z-index - integer value
Besides 'auto' and 'inherit' keyword values, z-index property can only accept an integer value. An integer consists of one or more digits '0' to '9'.
z-index-017 (invalid)
z-index - integer value
Besides 'auto' and 'inherit' keyword values, z-index property can only accept an integer value. An integer consists of one or more digits '0' to '9'.
z-index-018 (32bit)
z-index - negative values
Integers should range from -2,147,483,648 to 2,147,483,647 according to C Language Specification
z-index-019 (32bit)
z-index - negative values
Integers should range from -2,147,483,648 to 2,147,483,647 according to C Language Specification
z-index-020
z-index
z-index-abspos-001
CSS: z-index auto, -1 and backgrounds (child)
z-index-abspos-002
CSS: z-index auto and -1 (siblings)
z-index-abspos-003
CSS: z-index 0, -1 and backgrounds (child)
z-index-abspos-004
CSS: z-index auto and 0 (siblings)
z-index-abspos-005
CSS: z-index auto and 0 (siblings)
z-index-abspos-006
CSS: z-index and SELECT elements
z-index-abspos-007
CSS: z-index 1, -1 and backgrounds (child)
z-index-abspos-008
z-index
z-index-abspos-009
CSS: z-index and the canvas and background propagation
z-index-applies-to-001 (may)
Z-index applied to element with 'display' set to 'table-row-group'
The 'z-index' property can apply to elements with a display of 'table-row-group'.
z-index-applies-to-002 (may)
Z-index applied to element with 'display' set to 'table-header-group'
The 'z-index' property can apply to elements with a display of 'table-header-group'.
z-index-applies-to-003 (may)
Z-index applied to element with 'display' set to 'table-footer-group'
The 'z-index' property can apply to elements with a display of 'table-footer-group'.
z-index-applies-to-004 (may)
Z-index applied to element with 'display' set to 'table-row'
The 'z-index' property can apply to elements with a display of 'table-row'.
z-index-applies-to-005 (may)
Z-index applied to element with 'display' set to 'table-column-group'
The 'z-index' property can apply to elements with a display of 'table-column-group'.
z-index-applies-to-006 (may)
Z-index applied to element with 'display' set to 'table-column'
The 'z-index' property can apply to elements with a display of 'table-column'.
z-index-applies-to-007 (may)
Z-index applied to element with 'display' set to 'table-cell'
The 'z-index' property can apply to elements with a display of 'table-cell'.
z-index-applies-to-008 (ahem)
Z-index applied to element with 'display' set to inline
The 'z-index' property applies to elements with a display of inline.
z-index-applies-to-009
Z-index applied to element with 'display' set to block
The 'z-index' property applies to elements with a display of block.
z-index-applies-to-010
Z-index applied to element with 'display' set to list-item
The 'z-index' property applies to elements with a display of list-item.
z-index-applies-to-012
Z-index applied to element with 'display' set to inline-block
The 'z-index' property applies to elements with a display of inline-block.
z-index-applies-to-013
Z-index applied to element with 'display' set to 'table'
The 'z-index' property applies to elements with a display of 'table'.
z-index-applies-to-014
Z-index applied to element with 'display' set to 'inline-table'
The 'z-index' property applies to elements with a display of 'inline-table'.
z-index-applies-to-015 (may)
Z-index applied to element with 'display' set to 'table-caption'
The 'z-index' property can apply to elements with a display of 'table-caption'.
z-index-dynamic-001 (dom)
Z-index - dynamically setting z-index to bring an element from back to in front of
Setting the 'z-index' property of a positioned element can bring it from behind the surface on a lower stack level to a greater stack level passing it in front of another element painted on the surface.
z-index-stack-003
Z-index - stacking levels of positioned elements versus floated elements
Positioned elements should be painted over floated elements. A positioned descendant with 'z-index: auto' has a greater stacking level than non-positioned floated elements.