[英]Any cross browser issues with document.documentElement
Any cross browser issues if I use document.documentElement ? 如果我使用document.documentElement,任何跨浏览器问题?
Target browsers are 目标浏览器是
Thanx in advance. Thanx提前。
You should have no problems: http://www.quirksmode.org/dom/w3c_core.html 你应该没有问题: http : //www.quirksmode.org/dom/w3c_core.html
Anyway here you have a test page: http://www.quirksmode.org/dom/tests/document.html#documentElement 无论如何,你有一个测试页面: http : //www.quirksmode.org/dom/tests/document.html#documentElement
Quirksmode says Quirksmode说
document.documentElement.clientWidth/Height
http://duckduckgo.com/?q=!%20document.documentElement%20site%3Aquirksmode.org http://duckduckgo.com/?q=!%20document.documentElement%20site%3Aquirksmode.org
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.