What does "hasLayout = -1" in Buggy Old IE means...?
When hasLayout = -1 is it set to true or false....?
Thank开发者_运维知识库s..!
Customarily 0 indicates false and all other values are true.
However if it's an HTML attribute it might be parsed differently because Microsoft says valid values are true or false
It appears that in your example, the intention of the programmer was to specify a true value (by customary means) but they should have used true or false, otherwise they might be conveying the wrong meaning.
精彩评论