long7181226 / compatibility-detector

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

RV1002 overflow #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
第一轮测试:准确(但无视觉差异)

有些溢出的情况,虽然溢出了,但实际上没有视觉差异:
http://blog.cntv.cn/blog/
http://blog.tianya.cn/
http://cartoon.tudou.com/
...

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by sundongg...@beyondsoft.com on 2 Dec 2010 at 3:17

GoogleCodeExporter commented 9 years ago
重写代码:
在标准模式 (S) 下时;
找到 position 为 'static' 且 overflow 不为 'visible' 的元素;
向内检测,是否有 position 为 'relative'的元素;
如果有,判断其是否溢出父元素。
溢出则报警告 RV1002。

Original comment by sundongg...@beyondsoft.com on 7 Dec 2010 at 10:27

GoogleCodeExporter commented 9 years ago
准确率: 100%
EN: 10/10 (http://www.nasa.gov/ 在 Chrome 里是 Q 模式,在 IE 中是 S 
模式因此无实际差异)
CN: 5/5 (http://speed.qq.com/ 溢出的定位元素被移出视口)
JA: 5/5
KO: 5/5

Original comment by sundongg...@beyondsoft.com on 9 Dec 2010 at 10:51