<!--https://github.com/servo/servo/issues/35724 -->
<html>
    <head>
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>
    </head>
<body>
    <script>
        'use strict';
        test(() => {
            let original_host = document.createElement("div");
            original_host.id = "original-host";
            let current_host = original_host;
            for (let i = 0; i < 10000; i++) {
                let root = current_host.at