From 00cadf41d82295352193cc754472438b38a37bfa Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 12 Aug 2025 12:01:18 +0100 Subject: [PATCH] LibWeb/CSS: Update UA stylesheet to use :heading Corresponds to part of https://github.com/whatwg/html/commit/65dc095e44436d81316856aaf3c448c7c083ae16 --- Libraries/LibWeb/CSS/Default.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/LibWeb/CSS/Default.css b/Libraries/LibWeb/CSS/Default.css index 968d37a2ba1..8554964b013 100644 --- a/Libraries/LibWeb/CSS/Default.css +++ b/Libraries/LibWeb/CSS/Default.css @@ -424,8 +424,8 @@ nobr wbr { } address, blockquote, center, div, figure, figcaption, footer, form, header, hr, -legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, h1, h2, -h3, h4, h5, h6, hgroup, nav, search, section, table, caption, colgroup, col, thead, +legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, +:heading, hgroup, nav, search, section, table, caption, colgroup, col, thead, tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li, bdi, output, [dir=ltr i], [dir=rtl i], [dir=auto i] { unicode-bidi: isolate; @@ -444,7 +444,7 @@ input[dir=auto i]:is([type=search i], [type=tel i], [type=url i], * https://html.spec.whatwg.org/multipage/rendering.html#sections-and-headings */ -article, aside, h1, h2, h3, h4, h5, h6, hgroup, nav, section { +article, aside, :heading, hgroup, nav, section { display: block; }