1
0
Fork 0
firefox/testing/web-platform/tests/editing/crashtests/designMode-on-of-lazy-loading-iframe.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
375 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
*::first-letter {}
</style>
<script>
addEventListener("load", () => {
const iframe = document.querySelector("iframe");
iframe.contentWindow.focus();
document.styleSheets[0].deleteRule(0);
iframe.contentWindow.document.designMode = "on";
});
</script>
</head>
<body>
<iframe loading="lazy">
</body>
</html>