From c2e01b2933d215b7596266297d6b644d7b6ab8a8 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 29 Apr 2024 10:01:11 +0200 Subject: [PATCH] Make self-links work inside td elements This is needed for the Stages document. See https://github.com/whatwg/sg/commit/223c7eb8de16e4664b4f38ce581f0d0744f73236 for more context. --- whatwg.org/style/subpages.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whatwg.org/style/subpages.css b/whatwg.org/style/subpages.css index 022174407..4fc88eec0 100644 --- a/whatwg.org/style/subpages.css +++ b/whatwg.org/style/subpages.css @@ -109,7 +109,7 @@ a.self-link::before { /* Not 600px like elsewhere; this must match the --body-width variable + ~ 2 * the self-link width */ @media (min-width: 960px) { - h2, h3, h4, h5, h6 { + h2, h3, h4, h5, h6, td { position: relative; }