如何扫描HTML和JavaScript文件的跨浏览器兼容性? [英] How to scan HTML and javascript files for cross browser compatability?
问题描述
我在寻找一个工具,它会扫描我的HTML和JS文件,并报告脚本是否兼容交叉浏览器。我不是真的感兴趣的在线工具,我必须输入所有的URL。
I'm looking for a tool that will scan my HTML and JS files and report whether the scripts are cross browser compatible or not. I'm not really interested in an online tool which I have to enter all my URL's.
推荐答案
可能有一些扫描仪,但没有一个会做一个体面的,
There may be some "scanners" around but none of them is going to do a decent, complete job - whether things behave well across browsers one will have to confirm visually, using human eyes.
在自动测试方面,我认为最好的方法是创建有效的HTML。它不会保证正确的渲染,但它是迈向方向的第一步,将帮助您解决许多问题。
The best you can do in terms of automatic testing, in my opinion, is create valid HTML. It won't guarantee proper rendering, but it's a first step into the direction and will save you from many problems.
这篇关于如何扫描HTML和JavaScript文件的跨浏览器兼容性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!