Skip to content

rustdoc: clean up "normalize.css 8" input override CSS - #102436

Merged
bors merged 1 commit into
rust-lang:masterfrom
notriddle:notriddle/normalize-form
Sep 29, 2022
Merged

rustdoc: clean up "normalize.css 8" input override CSS#102436
bors merged 1 commit into
rust-lang:masterfrom
notriddle:notriddle/normalize-form

Conversation

@notriddle

Copy link
Copy Markdown
Contributor

These rules were copied from normalize.css 3, and are mostly redundant.

  • optgroup isn't used in rustdoc at all
  • textarea is only used for the "copy" button, so it's not visible
  • The remaining buttons and inputs mostly have styles set anyway.
  • We should never be setting color without also setting the background to something. Otherwise, you get white-on-gray text. That seems to be the reason why normalize.css changed this.

@rustbotrustbot added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Sep 28, 2022
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @Folyd, @jsha

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 28, 2022
@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks!

@bors r+ rollup

@bors

bors commented Sep 28, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit b8dadfcaeb06fc4a7ea614b2a3dfcc2a1896ab54 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 28, 2022
@notriddle
notriddleforce-pushed the notriddle/normalize-form branch from b8dadfc to f55ea41CompareSeptember 28, 2022 22:38
These rules were copied from normalize.css 3, and are mostly redundant.
* `optgroup` isn't used in rustdoc at all
* `textarea` is only used for the "copy" button, so it's not visible
* The remaining buttons and inputs mostly have styles set anyway.
* We should never be setting `color` without also setting the
background to something. Otherwise, you get white-on-gray
text. That seems to be [the reason] why `normalize.css` changed this.
[the reason]: necolas/normalize.css#502
@notriddle

Copy link
Copy Markdown
ContributorAuthor

@bors r=GuillaumeGomez rollup

@bors

bors commented Sep 28, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit f55ea41 has been approved by GuillaumeGomez

It is now in the queue for this repository.

JohnTitor added a commit to JohnTitor/rust that referenced this pull request Sep 29, 2022
…, r=GuillaumeGomez
rustdoc: clean up "normalize.css 8" input override CSS
These rules were copied from normalize.css 3, and are mostly redundant.
* `optgroup` isn't used in rustdoc at all
* `textarea` is only used for the "copy" button, so it's not visible
* The remaining buttons and inputs mostly have styles set anyway.
* We should never be setting `color` without also setting the background to something. Otherwise, you get white-on-gray text. That seems to be [the reason] why `normalize.css` changed this.
[the reason]: necolas/normalize.css#502
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Sep 29, 2022
…, r=GuillaumeGomez
rustdoc: clean up "normalize.css 8" input override CSS
These rules were copied from normalize.css 3, and are mostly redundant.
* `optgroup` isn't used in rustdoc at all
* `textarea` is only used for the "copy" button, so it's not visible
* The remaining buttons and inputs mostly have styles set anyway.
* We should never be setting `color` without also setting the background to something. Otherwise, you get white-on-gray text. That seems to be [the reason] why `normalize.css` changed this.
[the reason]: necolas/normalize.css#502
@Dylan-DPCDylan-DPC mentioned this pull request Sep 29, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 29, 2022
Rollup of 7 pull requests
Successful merges:
- rust-lang#102336 (Fix associated type bindings with anon const in GAT position)
- rust-lang#102342 (Add negation methods for signed non-zero integers.)
- rust-lang#102385 (Don't export `__heap_base` and `__data_end` on wasm32-wasi.)
- rust-lang#102435 (Improve example of Iterator::reduce)
- rust-lang#102436 (rustdoc: clean up "normalize.css 8" input override CSS)
- rust-lang#102452 (fix minor ungrammatical sentence)
- rust-lang#102455 (Use let-chaining in `WhileTrue::check_expr`.)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 5f18c2b into rust-lang:masterSep 29, 2022
@rustbotrustbot added this to the 1.66.0 milestone Sep 29, 2022
@notriddle
notriddle deleted the notriddle/normalize-form branch September 29, 2022 16:25
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@notriddle@rustbot@rust-highfive@GuillaumeGomez@bors