HasLayout
使元素hasLayout属性值为true的方法是声明下面的CSS属性之一:
width: 除auto之外的值
height: 除auto之外的值
float: left|right
position: absolute
display: inline-block
writing-mode: tb-rl(IE)
zoom: 除normal之外的值
IE7中增加了一些同样效果的属性:
min-height: 任意值
max-height: 除 “none” 之外的任意值
min-width: 任意值
max-width: 除 “none” 之外的任意值
overflow: hidden|scroll|auto
overflow-x: hidden|scroll|auto
overflow-y: hidden|scroll|auto
position: fixed