2.1.153 [HTML5:2014] Section 10.3.12 The hr element
V0353: When the align attribute is set, the default styles do not set the margin properties
The specification states:
-
10.3.9 Tables ... table[align=center i] { margin-left: auto; margin-right: auto; } 10.3.12 The hr element ... hr[align=left] { margin-left: 0; margin-right: auto; } hr[align=right] { margin-left: auto; margin-right: 0; } hr[align=center] { margin-left: auto; margin-right: auto; }
All document modes (All versions)
When the align
attribute is
set, the default styles do not set the margin
properties.
V0352: The color property for the hr element is not set to gray in the default styles
The specification states:
-
10.3.12 The hr element ... hr { color: gray; border-style: inset; border-width: 1px; margin: 0.5em auto; }
All document modes (All versions)
The color
property for the hr
element is not set to gray
in the default styles. Instead the color used is rgb(0, 0, 0)
, which is equivalent to black
.