为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

iframe using 3D Transformation the mouse is getting focus outside of the iframe

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

The issue is if you have an iframe that is using 3D Transformation the content has focus outside of the iframe area, but only when the iframe content is on a different domain.



Here is an example, This is a 360 panorama that has an iframe pinned to the panorama using 3D Transformation. The content of the iframe is on the same domain. 

Open the link with Firefox, move the mouse very close to the iframe but not in it, then click and drag the panorama.

The mouse has focus on the panorama.

 Here is the same project but using a different domain. Do exactly the same but this time you will see that the mouse has focus of the iframe contents. 
If you zoom out then the whole page has focus in the iframe.
 After refreshing the page, zoom, in, once zoomed in the mouse has the correct focus, able to click and drag the panorama and also interact with the iframe contents.

 This is a relatively new problem with Firefox, all other browsers do not have this issue.

The issue is if you have an iframe that is using 3D Transformation the content has focus outside of the iframe area, but only when the iframe content is on a different domain.

 Here is an [https://support.ggno.me/v60/external example], This is a 360 panorama that has an iframe pinned to the panorama using 3D Transformation. The content of the iframe is on the same domain. 

Open the link with Firefox, move the mouse very close to the iframe but not in it, then click and drag the panorama. The mouse has focus on the panorama.

 Here is the [https://support.2vr.at/v60/external/ same project] but using a different domain. Do exactly the same but this time you will see that the mouse has focus of the iframe contents. 
If you zoom out then the whole page has focus in the iframe.
 After refreshing the page, zoom, in, once zoomed in the mouse has the correct focus, able to click and drag the panorama and also interact with the iframe contents.

 This is a relatively new problem with Firefox, all other browsers do not have this issue.

所有回复 (5)

more options

Hello,

I believe this may be caused by a new security feature being rolled out called fission. This feature separates separate websites into their own processes, making it harder for attackers to see sensitive information.

Please check if fission.autostart.session is true in about:config to check if you were enrolled in the program.

more options

Hi, Thank you for your response, setting fission to false solves the current problem. Its odd it only has the issue with CSS 3D Transformations. When not using CSS 3D Transformations there is no issue. Unfortunately many people in the virtual tour/VR world use 3D Transformations, pinning an iframe to 360 panoramas is quite common, for example pinning a video to a TV screen. Generally the video would be hosted on websites such as Vimeo or YouTube.
 I am also sure this will effect many website based games as well.
 We hope this issue is resolved soon and any feed back would be most appreciated so we can keep our customers informed.

由hopkimedia于修改

more options

I don't know if this is a known issue with Fission.

  • 1664130 - (fission-focus) [meta] Fission focus support
more options

There clearly this is a bug with fission and 3D Transformations. Will the developers see this post?

more options

No, the developers won't see this forum. You will have to file a bug report and provide steps to reproduce with a possible test case.