LPicker / compatibility-detector

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

HA8001 center_element #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
第一轮测试:有误报(90%)

---------------------------[误报] #1

当一个 CENTER 元素设置了 ‘margin:auto’ 
时,各浏览器中该元素都会居中对齐。

测试用例:
center_with_margin_auto.html

URL:
http://image.baidu.com/

---------------------------[误报] #2

当一个 CENTER 元素的父元素设置了 
‘padding’,并且该父元素的 content box 尺寸与 CENTER 
尺寸相同时,各浏览器中该元素的位置一样。

测试用例:
center_parent_has_padding_or_boder.html.html

URL:
http://junshi.blog.china.com/
http://mail.cn.yahoo.com/logout/logout1s.html
http://mobile.zol.com.cn/manu_297.shtml
http://sports.sina.com.cn/
http://sports.tom.com/
http://tieba.baidu.com/
http://www.4399.com/flash/13265.htm
http://www.hao123.com/ss/fy.htm
http://xiazai.zol.com.cn/

Original issue reported on code.google.com by wangju...@beyondsoft.com on 16 Nov 2010 at 9:28

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by wangju...@beyondsoft.com on 19 Nov 2010 at 2:34

GoogleCodeExporter commented 8 years ago
经检测,第一轮测试标注的问题已经修复。

Original comment by qianbao...@beyondsoft.com on 25 Nov 2010 at 4:05

GoogleCodeExporter commented 8 years ago
特殊说明:多次迭代测试后结果集URL依然不足20个。
最终准确率为 100% (12/12)

说明此种情况出现明显表现差异的,在实际中并不多见。

Original comment by qianbao...@beyondsoft.com on 8 Dec 2010 at 9:34

GoogleCodeExporter commented 8 years ago

Original comment by sundongg...@beyondsoft.com on 8 Dec 2010 at 10:15

GoogleCodeExporter commented 8 years ago
新检测方法中没有过滤width是auto或100%时的情况。
错误URL:
http://365dizhi.net/
http://ask.cbifamily.com/question.php?qid=56
http://capital.cfi.cn/p20100906001602.html
http://eladies.sina.com.cn/qinggan/hunyin.shtml 
http://ent.sina.com.cn/cblzs.html
http://ent.sina.com.cn/f/m/binstinct2/index.shtml
http://finance.sina.com.cn/110/2004-05-14/138.html
http://health.sohu.com/75/66/harticle16036675.shtml
http://infohost.nmt.edu/~armiller/japanese/kanjinumbers.htm
http://jiaotong.cnbb.com.cn/
http://ks.jxedt.com/mnks.asp

Original comment by qianbao...@beyondsoft.com on 18 Apr 2011 at 9:51