你能确定IE8开发者工具栏中的hasLayout吗?
有很多人说 IE8 应该修复/删除 hasLayout。 似乎没有发生,尽管这通常不是问题。
问题是当它出现时似乎没有IE8 的开发人员工具栏告诉您已应用 hasLayout 的一种方式,就像 IE7 的开发人员工具栏中以前所做的那样。
有人有解决方法吗?我错过了一些明显的东西吗?
There was a lot of talk that IE8 was supposed to fix/remove hasLayout. Doesn't seem to have happened, though it's not usually an issue.
The problem is that when it does crop up there doesn't seem to be a way for IE8's developer toolbar to tell you hasLayout is being applied, as it used to do in IE7's developer toolbar.
Does anyone have a workaround? Am I missing something obvious?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果开发人员工具栏没有告诉您它在那里,您是否尝试过使用控制台显式查询该属性?也就是说,使用
console.log
(或任何 IE 开发人员工具栏等效项)。那么:console.log(whateverObject.hasLayout)?我意识到这与 Javascript 有更多关系,但我认为这可以作为一种解决方法;)If the developer toolbar is not telling you that it's there, have you tried using the console to explicitly query the property? That is, using
console.log
(or whatever the IE developer toolbar equivalent is). So:console.log(whateverObject.hasLayout)
? I realize this has more to do with Javascript, but I think this could qualify as a workaround ;)