Skip to content

Suggest specifying font-size and margin-block on h1 - #37827

Merged
chrisdavidmills merged 5 commits into
mdn:mainfrom
zcorpan:patch-5
Jan 29, 2025
Merged

chrisdavidmills merged 5 commits into
mdn:mainfrom
zcorpan:patch-5

Conversation

@zcorpan

@zcorpan zcorpan commented Jan 27, 2025

Copy link
Copy Markdown
Contributor

See whatwg/html#7867

Description

Add a new section to help developers avoid the special h1 in section default styling.

Motivation

We're trying to remove the special default styling in the spec and in Firefox. Devtools will have a warning, but the warning should have a link to help developers know what to do and why. My plan is to link to this new section.

Additional details

https://bugzilla.mozilla.org/show_bug.cgi?id=1937568

Related issues and pull requests

@zcorpan
zcorpan requested review from a team and chrisdavidmills and removed request for a team January 27, 2025 14:02
@github-actions github-actions Bot added Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed labels Jan 27, 2025
@github-actions

github-actions Bot commented Jan 27, 2025 •

Copy link
Copy Markdown
Contributor

Preview URLs

External URLs (2)

URL: /en-US/docs/Web/HTML/Element/Heading_Elements
Title: <h1>–<h6>: The HTML Section Heading elements

(comment last updated: 2025-01-29 09:56:16)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@estelle estelle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

language and link suggestions

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zcorpan couple more quick comments for you. Thanks for making this update!

@estelle estelle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM2; thanks @zcorpan!

@chrisdavidmills
chrisdavidmills merged commit 28b9521 into mdn:main Jan 29, 2025
zcorpan added a commit to zcorpan/content that referenced this pull request Jan 30, 2025
Josh-Cena pushed a commit that referenced this pull request Jan 30, 2025
@Josh-Cena Josh-Cena mentioned this pull request Jan 30, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants