From 6dc550ec0ab02f23b136e677c6d377f235845d5f Mon Sep 17 00:00:00 2001 From: zcorpan Date: Wed, 5 Mar 2025 11:18:13 +0100 Subject: [PATCH] Remove UA styles for h1 in article, aside, nav, section Fixes #7867 --- source | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/source b/source index 5caba469479..d34960cce6a 100644 --- a/source +++ b/source @@ -136596,19 +136596,6 @@ h4 { margin-block: 1.33em; font-size: 1.00em; font-weight: bold; } h5 { margin-block: 1.67em; font-size: 0.83em; font-weight: bold; } h6 { margin-block: 2.33em; font-size: 0.67em; font-weight: bold; } -

In the following CSS block, x is shorthand for the following selector: - :is(article, aside, nav, section)

- -
@namespace "http://www.w3.org/1999/xhtml";
-
-x h1 { margin-block: 0.83em; font-size: 1.50em; }
-x x h1 { margin-block: 1.00em; font-size: 1.17em; }
-x x x h1 { margin-block: 1.33em; font-size: 1.00em; }
-x x x x h1 { margin-block: 1.67em; font-size: 0.83em; }
-x x x x x h1 { margin-block: 2.33em; font-size: 0.67em; }
- -

The shorthand is used to keep this block at least mildly readable.

-

Lists