且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MyMsn beta版源代码里微软遇到问题

更新时间:2022-08-22 08:23:47

在看MyMsn的脚本源代码时,发现里面有一些微软自己遇到的bug也不能解决。列在这里,如果我们自己也遇到时就不要再郁闷了。

    1、在设置HTML元素的capture状态时:
MyMsn beta版源代码里微软遇到问题// we clear any current selection because it will get stuck in selected state after drop (bug 211)
MyMsn beta版源代码里微软遇到问题
document.selection.clear();

    // 这个缺陷我还没有遇到,不过既然微软说有可能发生,那以后就注意一下啦。

    2、不能取到滚动条的确切宽度:
MyMsn beta版源代码里微软遇到问题// adjust for scrollbars when present
MyMsn beta版源代码里微软遇到问题
if (m_Bod.clientWidth != m_Bod.scrollWidth)
MyMsn beta版源代码里微软遇到问题{
MyMsn beta版源代码里微软遇到问题    vr.b -= 25;
MyMsn beta版源代码里微软遇到问题    // REIVEW: BUG: scroll bars are not always 20 px
MyMsn beta版源代码里微软遇到问题
    // window.status += "[bottom scrollbar shown] ";
MyMsn beta版源代码里微软遇到问题
}

    // 这个问题我是遇到过,不过不知道微软自己Review后的结果是啥呀MyMsn beta版源代码里微软遇到问题?!


本文转自博客园鸟食轩的博客,原文链接:http://www.cnblogs.com/birdshome/,如需转载请自行联系原博主。