Lines Matching refs:iframe
4 * Adjust the height of an iframe to his content
32 // in a iframe, you need to test against the browsing content, not
37 let iframe = mutation.target.ownerDocument.defaultView.frameElement;
38 WEBCODE.adjustHeightToFitContent(iframe);
41 document.querySelectorAll("iframe.webcode-cs").forEach(iframe => {
43 const height = iframe.getAttribute('height');
45 // Set the height of the iframe to be the height of the internal iframe
46 WEBCODE.adjustHeightToFitContent(iframe);
47 IframeObserver.observe(iframe.contentWindow.document, {attributes: true, childList: true, subtree: true});