Runs: Chrome 160.0.8195.0 (wpt@1ab8957e4, 2026-12-01) | Firefox 163.0a1 (wpt@1ab8957e4, 2026-12-01) | Safari 257 preview (wpt@13099faa1, 2026-12-02) | Ladybird 1.0-a81cb (wpt@8c85502e4, 2026-12-02) | Servo Servo 0.8 (wpt@75c11f957, 2026-12-01) | Blitz af350c0af (wpt@705f393a6, 2026-12-02)
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 1/1 | 1/1 | 1/1 | 0/1 | 0/1 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| rel=expect blocks for the top-of-document value from #top | PASS | PASS | PASS | FAIL | FAIL | — |
/html/dom/render-blocking/element-render-blocking-top-of-document.html
<!DOCTYPE html> <meta name="timeout" content="long"> <meta name="variant" content="?empty"> <meta name="variant" content="?top"> <title>rel=expect treats top of the document as a non-element target</title> <link rel="help" href="https://html.spec.whatwg.org/#process-internal-resource-link"> <link rel="help" href="https://html.spec.whatwg.org/#select-the-indicated-part"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="support/utils.js"></script> <script> const link = document.createElement("link"); link.rel = "expect"; link.setAttribute("blocking", "render"); link.href = location.search === "?empty" ? "#" : "#top"; document.head.append(link); async_test(t => { requestAnimationFrame(t.step_func_done(() => { assert_not_equals(document.readyState, "loading", "A non-element target blocks rendering until parsing finishes"); })); }, "rel=expect blocks for the top-of-document value from " + link.getAttribute("href")); </script> <body> <script> generateParserDelay(); </script>