web 部分
Added support for the CONTENTEDITABLE attribute.
Setting table height to 100% now works in quirks mode regardless of
height of parent element(s).
Stand-alone images are now centered on the page - image.css is read again.
User set encoding is now window and site specific.
Baseline for CJK characters is now correct.
顺手修改了几个opera(linux)下显示的小问题:
1.左侧google和tag搜索溢出。原因在于 opera(linux)对
2.下面的 links opera不显示问题。原因在于 changelinkstyle.js 中间的 链接样式轮换 部分有问题,导致js不向下执行。
其它浏览器都可以。打出所有 document,firefox第一个赫然就是 styleSheets...
alert(document.styleSheets)
for(x in document){
document.write(x+" ")
}
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
解决方法:
createElement(”style”) 写入需要变化的链接样式部分
oCssText="color: #fff !important;background-color:";
oCssText+=["#6cf","#c00","#3c3"][Math.floor(Math.random()*3)];
if(document.styleSheets){}else{
operastyle=document.createElement(”style”);
operastyle.innerHTML=”a:hover {”+oCssText+”}a:active {”+oCssText+”}”
document.body.appendChild(operastyle);
}
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
BTW:至此,opera,firefox,ie下看起来应该基本一致了吧…