From 9c327766e4fb95c91f5ae1cce8162f983c6a067e Mon Sep 17 00:00:00 2001 From: zcorpan Date: Thu, 27 Mar 2025 22:40:15 +0100 Subject: [PATCH] HTML: Remove UA styles for h1 in article, aside, nav, section See https://github.com/whatwg/html/pull/11102 --- ...ngs-styles-no-h1-in-section.tentative.html | 147 ------------------ .../headings-styles.html | 6 - 2 files changed, 153 deletions(-) delete mode 100644 html/rendering/non-replaced-elements/sections-and-headings/headings-styles-no-h1-in-section.tentative.html diff --git a/html/rendering/non-replaced-elements/sections-and-headings/headings-styles-no-h1-in-section.tentative.html b/html/rendering/non-replaced-elements/sections-and-headings/headings-styles-no-h1-in-section.tentative.html deleted file mode 100644 index 61610c2fd6c8ce..00000000000000 --- a/html/rendering/non-replaced-elements/sections-and-headings/headings-styles-no-h1-in-section.tentative.html +++ /dev/null @@ -1,147 +0,0 @@ - -default styles for h1..h6, hgroup, article, aside, nav, section (no h1 in section UA styles) - - - - - - - -
- -
-

-

-

-

-
-
-
-
- - -
-
-

-
-

-
-

-
-

-
-

-
-

-

-

-

-
-
-
-
-
-
-
- - -
-

-
-

-
-

-
-

-
-

-
-

-

-

-

-
-
-
-
-
-
-
-
- -
- - diff --git a/html/rendering/non-replaced-elements/sections-and-headings/headings-styles.html b/html/rendering/non-replaced-elements/sections-and-headings/headings-styles.html index be531adfcf5b26..57deee85693fe5 100644 --- a/html/rendering/non-replaced-elements/sections-and-headings/headings-styles.html +++ b/html/rendering/non-replaced-elements/sections-and-headings/headings-styles.html @@ -19,12 +19,6 @@ h5 { margin-block: 1.67em; font-size: 0.83em; font-weight: bold; } h6 { margin-block: 2.33em; font-size: 0.67em; font-weight: bold; } -:is(article, aside, nav, section) h1 { margin-block: 0.83em; font-size: 1.50em; } -:is(article, aside, nav, section) :is(article, aside, nav, section) h1 { margin-block: 1.00em; font-size: 1.17em; } -:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { margin-block: 1.33em; font-size: 1.00em; } -:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { margin-block: 1.67em; font-size: 0.83em; } -:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { margin-block: 2.33em; font-size: 0.67em; } -