Skip to content

rustdoc: remove incorrect CSS selector .impl-items table td - #101046

Merged
bors merged 1 commit into
rust-lang:masterfrom
notriddle:notriddle/table-css
Aug 27, 2022
Merged

rustdoc: remove incorrect CSS selector .impl-items table td#101046
bors merged 1 commit into
rust-lang:masterfrom
notriddle:notriddle/table-css

Conversation

@notriddle

@notriddlenotriddle commented Aug 26, 2022

Copy link
Copy Markdown
Contributor

Fixes#100994

This selector was added in c7312fb. The bug can be seen at https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls.

This rule was added to help with a <table> that was used for displaying the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving this selector unused (at least, for its original purpose).

Fixesrust-lang#100994
This selector was added in c7312fb.
The bug can be seen at <https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls>.
This rule was added to help with a `<table>` that was used for displaying the
function signature [src] lockup. That lockup was changed in
34bd2b8 to use flexbox instead, leaving this
selector unused (at least, for its original purpose).
@rustbotrustbot added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Aug 26, 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

r? @GuillaumeGomez

(rust-highfive has picked a reviewer for you, use r? to override)

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

jsha commented Aug 26, 2022

Copy link
Copy Markdown
Contributor

@bors r+ rollup

Nice find, and thanks for the detailed history in the PR description.

@bors

bors commented Aug 26, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 25eb52f has been approved by jsha

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 Aug 26, 2022
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Aug 26, 2022
rustdoc: remove incorrect CSS selector `.impl-items table td`
Fixesrust-lang#100994
This selector was added in c7312fb. The bug can be seen at <https://doc.rust-lang.org/1.27.0/alloc/slice/trait.SliceIndex.html#foreign-impls>.
This rule was added to help with a `<table>` that was used for displaying the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving this selector unused (at least, for its original purpose).
@Dylan-DPCDylan-DPC mentioned this pull request Aug 26, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 27, 2022
Rollup of 11 pull requests
Successful merges:
- rust-lang#96240 (Stabilize `const_ptr_offset_from`.)
- rust-lang#99784 (Make forward compatibility lint deprecated_cfg_attr_crate_type_name deny by default)
- rust-lang#100811 (Fix wrong compiletest filters on Windows)
- rust-lang#100924 (Smaller improvements of tidy and the unicode generator)
- rust-lang#100953 (Update documentation for `write!` and `writeln!`)
- rust-lang#101018 (rustdoc: omit start/end tags for empty item description blocks)
- rust-lang#101044 (rustdoc: remove unused CSS for `hidden-by-*-hider`)
- rust-lang#101046 (rustdoc: remove incorrect CSS selector `.impl-items table td`)
- rust-lang#101057 (Merge implementations of HIR fn_decl and fn_sig.)
- rust-lang#101062 (rustdoc: remove empty extern_crates and type="text/javascript" on script)
- rust-lang#101063 (Merge duplicated CSS rules)
Failed merges:
- rust-lang#101055 (Use smaller span for suggestions)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 0cad274 into rust-lang:masterAug 27, 2022
@rustbotrustbot added this to the 1.65.0 milestone Aug 27, 2022
@notriddle
notriddle deleted the notriddle/table-css branch August 29, 2022 01:48
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 30, 2022
…display, r=jsha
rustdoc: remove unused CSS selectors for `.table-display`
This class was added to support the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving these selectors unused.
Continuation of rust-lang#101046
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Aug 30, 2022
…display, r=jsha
rustdoc: remove unused CSS selectors for `.table-display`
This class was added to support the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving these selectors unused.
Continuation of rust-lang#101046
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.

Bad rendering Markdown table with rustdoc

6 participants

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