rustdoc: replace DIV inside H1 with SPAN.#17529
Closed
nodakai wants to merge 1 commit intorust-lang:masterfrom
Closed
rustdoc: replace DIV inside H1 with SPAN.#17529nodakai wants to merge 1 commit intorust-lang:masterfrom
nodakai wants to merge 1 commit intorust-lang:masterfrom
Conversation
W3C HTML5 spec states that H1 must enclose "phrasing content" which doesn't include DIV. But SPAN is OK. http://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
Contributor
|
Have you confirmed that this doesn't break anything? Would you be able to host a rustdoc build to demonstrate? |
Contributor
Author
|
@gankro Please take a look at http://nodakai.github.io/rust-6fd144c-doc/ This change improves W3C validator score: |
Contributor
|
@nodakai Thanks! |
bors
added a commit
that referenced
this pull request
Sep 28, 2014
W3C HTML5 spec states that H1 must enclose "phrasing content" which doesn't include DIV. But SPAN is OK. http://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
lnicola
pushed a commit
to lnicola/rust
that referenced
this pull request
Jul 11, 2024
fix: Fix lifetime parameters moving parameter defaults Fixes rust-lang/rust-analyzer#17075, rust-lang/rust-analyzer#17515 We were incorrectly filling the default params due to our odd order of lifetime parameters vs type/const params. So this needs some special handling so that we don't shift the defaults around.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
W3C HTML5 spec states that H1 must enclose "phrasing content" which
doesn't include DIV. But SPAN is OK.
http://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements