2.1.36 [CSS-Level2-2009] Section 8.5.2, Border color: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', and 'border-color'
V0044:
-
‘border-color' Value: [ <color> | transparent ] {1,4} | inherit Initial: see individual properties Applies to: all elements Inherited: no Percentages: N/A Media: visual Computed value: see individual properties
Quirks Mode and IE7 Mode (All Versions)
The inherit
value of the border-color
property is not supported.
V0340:
-
If an element's border color is not specified with a border property, user agents must use the value of the element's 'color' property as the computed value for the border color.
IE7 Mode (All Versions)
If an element’s border color is not specified with a border property, the color is set from a previous border-color value rather than the text color.
V0202:
-
'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width' Value: <border-width> | inherit Initial: medium Applies to: all elements Inherited: no Percentages: N/A Media: visual Computed value: absolute length; '0' if the border style is 'none' or 'hidden' These properties set the width of the top, right, bottom, and left border of a box.
IE7 Mode (All Versions)
The border-bottom-width property will clip the bottom content edge of the inline elements.
V0203:
-
The border color properties specify the color of a box's border. 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color' Value: <color> | transparent | inherit Initial: the value of the 'color' property Applies to: all elements Inherited: no Percentages: N/A Media: visual Computed value: when taken from the 'color' property, the computed value of 'color'; otherwise, as specified
Quirks Mode and IE7 Mode (All Versions)
The inherit
value of the border
color properties is not supported.