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

    在看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] ";
}

    // 这个问题我是遇到过,不过不知道微软自己Review后的结果是啥呀?!

posted on 2005-03-30 14:44  birdshome  阅读(3115)  评论(13编辑  收藏  举报

导航