We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A页面嵌套iframe。其样式为display: none iframe的url地址为B页面。 B页面引入kissy seed文件。
display: none
Firefox浏览器下 KISSY.ready === undefined
原因:On Firefox (and others) IFRAME's hidden(and inherited) using display:none will NOT have a rendering context (computedStyle). 解释来源如下:http://www.sencha.com/forum/showthread.php?132187-Issue-with-the-computed-style-on-hidden-elements-using-Firefox-and-Ext-JS-4&s=0ef7deb3198af6f13ef6c286a64c928a&p=671006&viewfull=1#post671006
The text was updated successfully, but these errors were encountered:
无法修复,绕过:
<div style="width:0px;height:0px; overflow:hidden;"> <iframe src="iframe.htm" width="601" height="601"></iframe> </div>
Sorry, something went wrong.
不try catch一下么?至少不影响其他代码吧? 现在因为这个问题,导致其他的功能也无法使用了~
后面kissy代码依赖这个
fix kissyteam#563 for display none iframe
1f37a5a
已修复
No branches or pull requests
A页面嵌套iframe。其样式为
display: none
iframe的url地址为B页面。
B页面引入kissy seed文件。
Firefox浏览器下
KISSY.ready === undefined
原因:On Firefox (and others) IFRAME's hidden(and inherited) using display:none will NOT have a rendering context (computedStyle).
解释来源如下:http://www.sencha.com/forum/showthread.php?132187-Issue-with-the-computed-style-on-hidden-elements-using-Firefox-and-Ext-JS-4&s=0ef7deb3198af6f13ef6c286a64c928a&p=671006&viewfull=1#post671006
The text was updated successfully, but these errors were encountered: