开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜