yiran29 / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

gmail网页版兼容性问题 #79

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. 新写一封邮件
2. 在收件人里随便输入几个汉字,保持当前输入法在sunpinyin
3. 
用tab键切到主题,随便输入几个汉字,保持当前输入法为sunpi
nyin
4. 
用tab键切到正文,此时无法输入汉字,输入法之间切换也没��
�用。
5. 
如果在(3)之后,用鼠标把光标移到正文,则可以正常输入汉��
�。

Snow Leopard 10.6 + Firefox 3.6.2

Original issue reported on code.google.com by 191...@gmail.com on 29 Mar 2010 at 7:26

GoogleCodeExporter commented 8 years ago
貌似是FF的bug,不仅sunpinyin,我尝试了QIM和FIT,都有相同的问
题 :(

Original comment by find...@gmail.com on 29 Mar 2010 at 1:37

GoogleCodeExporter commented 8 years ago

Original comment by find...@gmail.com on 29 Mar 2010 at 3:31

GoogleCodeExporter commented 8 years ago
确实是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