const contentBR = iframeEl.contentDocument.body.getBoundingClientRect();
ok(chromeBR.height > contentBR.height, "Chrome content height should be bigger than content due to layout");
url = "http://mochi.test:8888/chrome/layout/svg/tests/svg_example_script.svg";
const iframeElScript = document.createElement("iframe");
let loadPromiseScript = ContentTaskUtils.waitForEvent(iframeElScript, "load", false);
iframeElScript.src = url;
t.appendChild(iframeElScript);
await loadPromiseScript;
ok(!iframeElScript.contentDocument.documentElement.style, "Content should not be styled");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.