在看
MyMsn的脚本源代码时,发现里面有一些微软自己遇到的bug也不能解决。列在这里,如果我们自己也遇到时就不要再郁闷了。
1、在设置HTML元素的capture状态时:
//
we clear any current selection because it will get stuck in selected state after drop (bug 211)
document.selection.clear();
// 这个缺陷我还没有遇到,不过既然微软说有可能发生,那以后就注意一下啦。
2、不能取到滚动条的确切宽度:
//
adjust for scrollbars when present
if (m_Bod.clientWidth != m_Bod.scrollWidth)
{
vr.b -= 25;
//
REIVEW: BUG: scroll bars are not always 20 px
//
window.status += "[bottom scrollbar shown] ";
}
1、在设置HTML元素的capture状态时:
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
// 这个缺陷我还没有遇到,不过既然微软说有可能发生,那以后就注意一下啦。
2、不能取到滚动条的确切宽度:
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
![None.gif](http://www.cnblogs.com/Images/OutliningIndicators/None.gif?x-oss-process=image/resize,w_1400/format,webp)
// 这个问题我是遇到过,不过不知道微软自己Review后的结果是啥呀?!
本文转自博客园鸟食轩的博客,原文链接:http://www.cnblogs.com/birdshome/,如需转载请自行联系原博主。