结论:大多数属性都不可继承(基本上适用于当前元素的设定 根据常识可以推出)
可继承的,多数涉及到全局单位,如字体,光标,列表的子属性,文本的属性。
不可继承的:display、margin、border、padding、background、height、
min-height、max- height、width、min-width、max-width、overflow、
position、left、right、top、 bottom、z-index、float、clear、
table-layout、vertical-align、page-break-after、
page-bread-before和unicode-bidi。
所有元素可继承:visibility和cursor。
内联元素可继承:letter-spacing、word-spacing、white-space、
line-height、color、font、 font-family、font-size、font-style、
font-variant、font-weight、text- decoration、text-transform、
direction。
块状元素可继承:text-indent和text-align。
列表元素可继承:list-style、list-style-type、list-style-position、
list-style-image。
表格元素可继承:border-collapse