Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Add support for seamless iframes #59

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

erikaleslie
Copy link

Erika Farris and others added 4 commits July 31, 2015 15:51
Added an option for supporting seamless iframes. This assumes that the iframe is not scrollable and is meant to look as though it is part of the top window. In this type of iframe, all the elements are always visible. For that reason, we will detect whether elements are visible inside of the top window instead of the iframe.
Added support for seamless iframes
Updated code for supporting seamless iframes to check if the iframe is
actually seamless before applying the logic. When the iframe is not
seamless, the logic should be the same as when the page is not in an
iframe at all.

These changes assume that seamless iframes will have scrolling="no" or
the HTML5 seamless attribute.
Fix issue with seamless iframe support
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants