long7181226 / compatibility-detector

Automatically exported from code.google.com/p/compatibility-detector
Apache License 2.0
0 stars 0 forks source link

SD9012 getelementbyid_and_getelementsbyname #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
new

Original issue reported on code.google.com by wangju...@beyondsoft.com on 25 Nov 2010 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by wangju...@beyondsoft.com on 26 Nov 2010 at 9:10

GoogleCodeExporter commented 9 years ago
上一轮测试误报结果已修复。

第四轮测试:

中文页面 准确率 100% (0/10)
英文页面 准确率 100% (0/10)

Original comment by duanli...@beyondsoft.com on 30 Nov 2010 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by wangju...@beyondsoft.com on 3 Dec 2010 at 6:29

GoogleCodeExporter commented 9 years ago
旧的 Detector 有问题:

1. 对于某一特定顺序的 id 有误报,如:
<span Id="Foo">span[Id=Foo]</span><br>
<em ID="foo">em[ID=foo]</em><br>
<A Name="Foo">a[Name=Foo]</A><br>
<button NAME="foo">button[NAME=foo]</button><br>

2. 无法判断动态插入的元素。

重写此 Detector,待测试。

Original comment by sundongg...@beyondsoft.com on 2 Mar 2011 at 7:12