<!DOCTYPEhtml>
<html>
<head><title>Test case for bug 2014551</title></head>
<body>
<script>
let iframeHTML = `<!DOCTYPEhtml>
<html><head>
<style>body{height:5000px;margin:0;padding:0;}</style>
</head>
<body>
<script>
document.addEventListener('MozScrolledAreaChanged', function(e) {
try {
history.replaceState(null, '', location.href.split('#')[0] + '#:~:text=nonexistent%20text%20number');
} catch(ex) {}
try {
history.replaceState(null, '', location.href.split('#')[0] + '#:~:text=another%20nonexistent');
} catch(ex) {}
});
<\/script>
<divstyle="height:3000px;background:lightblue;">
<p>Some text at the beginning of the iframe document content here padding</p>
<p>This is the target text that the text directive should find in the iframe</p>
<p>More text content after the target text to pad the document body here</p>
</div>
<divstyle="height:5000px;background:lightgreen;">More content to ensure large scrolled area for the document</div>
</body></html>`;
let blob = new Blob([iframeHTML], {type: 'text/html'});
let url = URL.createObjectURL(blob);
¤ 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.0.13Bemerkung:
(vorverarbeitet am 2026-08-25)
¤
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.