Closed GoogleCodeExporter closed 8 years ago
貌似是FF的bug,不仅sunpinyin,我尝试了QIM和FIT,都有相同的问
题 :(
Original comment by find...@gmail.com
on 29 Mar 2010 at 1:37
Original comment by find...@gmail.com
on 29 Mar 2010 at 3:31
确实是Firefox的bug,gmail的HTML写得比较特殊,它的正文框是ifra
me里的textarea,iframe获
得焦点时通过js把焦点设到textarea上。Safari没这个问题。
[1.html]
<div><input id=a />
<p />
<input id=b />
</div>
<iframe src="./2.html" frameborder=0 width=400 height=400 scrolling=no />
[2.html]
<body onfocus="document.getElementById('xx').focus();">
<textarea style="width:100%; height:100%" id=xx ></textarea></body>
Original comment by 191...@gmail.com
on 29 Mar 2010 at 4:31
Original issue reported on code.google.com by
191...@gmail.com
on 29 Mar 2010 at 7:26