Files

32 lines
765 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Scroll regression</title>
<link rel="stylesheet" href="../styles.css" />
<style>
body {
margin: 0;
font: 16px system-ui;
}
.ck-thread-inner {
max-width: 48rem;
margin-inline: auto;
}
</style>
</head>
<body>
<div id="scroll-fixture"></div>
<script>
if (new URLSearchParams(location.search).has("null-root")) {
Object.defineProperty(document, "scrollingElement", {
configurable: true,
value: undefined,
});
}
</script>
<script src="dist/demo.js"></script>
</body>
</html>