MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

Unexpected chrome takeover #59

Open cvan opened 9 years ago

cvan commented 9 years ago

tried loading the Google I/O web site, and things got real funky:

screenshot 2015-05-15 01 49 02

totally a wild guess, but it looks like a CSS clip path gone funky after the animation finishes.

and I actually had to refresh the browser for things to fix themselves.

it has meta[name="application-name"] and meta[name="theme-color"] tags, but it seems unrelated when I tried a simplified test case.


_a chrome takeover by Google. how fitting._

caseyyee commented 9 years ago

@cvan Are you running in Nightly? If you run using graphene it won't do this since we are using mozbrowser on the iframe

image

cvan commented 9 years ago

@caseyyee that screenshot was of Graphene

caseyyee commented 9 years ago

@cvan can you confirm that the site is loaded into #frames and hasn't taken over some other container?

cvan commented 9 years ago

when I select the <iframe> in the Developer Tools, it seems fine. it looks like a z-index issue. but I'm not sure how it's happening. it's fine in standalone Nightly, just not Graphene. I thought it was related to mozbrowser, or maybe the transform we're doing on the iframe or the threed. but I removed all that, and it still happened.

screenshot 2015-05-15 12 14 01 screenshot 2015-05-15 12 13 02 screenshot 2015-05-15 12 12 16 screenshot 2015-05-15 12 11 31

very strange!

caseyyee commented 9 years ago

image

Content is flowing outside the bounds of the iframe (highlighted in red). This is also visible in VR mode.

caseyyee commented 9 years ago

@kearwood Here's a standalone example of the problem.
Running in may 7th build from vlad.

Seems to occur when preserve-3d is applied with translate3d set.

https://gist.github.com/caseyyee/87e108f55a1dc794a294

kearwood commented 9 years ago

@vvuk, Perhaps this is due to ContainerLayerComposite::ContainerRender() skipping the RenderIntermediate() branch for iframes when VR is enabled.

cvan commented 9 years ago

@caseyyee to try to reproduce and check if we need to file a Bugzilla bug, and will file if so