Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

td align attribute #85974

Merged
merged 1 commit into from
Jun 5, 2021
Merged

td align attribute #85974

merged 1 commit into from
Jun 5, 2021

Conversation

GuillaumeGomez
Copy link
Member

This is a follow-up of #85972. I have put this one on its own because it changes the display:

Screenshot from 2021-06-03 21-49-11

Without align:

Screenshot from 2021-06-03 21-49-15

I also opened an issue about it: pulldown-cmark/pulldown-cmark#533. However, I'm not sure if this is the right course of action... Should we instead ignore the warning?

r? @jsha

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 3, 2021
@GuillaumeGomez GuillaumeGomez changed the title Td align td align attribute Jun 3, 2021
@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) labels Jun 3, 2021
@jsha
Copy link
Contributor

jsha commented Jun 3, 2021

In general I think the right approach is to introduce a linter with exclusions for known issues (and possible non-issues), then gradually whittle down the exclusions or let them become permanent.

So: Let's ignore the lint here. Changing to center aligned looks very bad. Also, align is deprecated but it still works. I'm guessing the markdown generator uses it because that allows being independent of CSS (though I suppose they could add an inline style).

@GuillaumeGomez
Copy link
Member Author

The center alignement is the current display. Otherwise I'm fine with ignoring this issue.

@jsha
Copy link
Contributor

jsha commented Jun 3, 2021

Ah, if we can make it look better (left align) and also satisfy tidy, I'm happy about that.

@GuillaumeGomez
Copy link
Member Author

I removed the useless commits. With this change, the align is not centered anymore.

@jsha
Copy link
Contributor

jsha commented Jun 4, 2021

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jun 4, 2021

📌 Commit 38ec87c has been approved by jsha

@bors bors 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 Jun 4, 2021
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jun 5, 2021
td align attribute

This is a follow-up of rust-lang#85972. I have put this one on its own because it changes the display:

![Screenshot from 2021-06-03 21-49-11](https://user-images.githubusercontent.com/3050060/120703622-d533d280-c4b5-11eb-9519-ea1131a40bee.png)

Without align:

![Screenshot from 2021-06-03 21-49-15](https://user-images.githubusercontent.com/3050060/120703623-d5cc6900-c4b5-11eb-95f9-878d3915c7fb.png)

I also opened an issue about it: pulldown-cmark/pulldown-cmark#533. However, I'm not sure if this is the right course of action... Should we instead ignore the warning?

r? `@jsha`
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2021
…laumeGomez

Rollup of 7 pull requests

Successful merges:

 - rust-lang#83646 (Add a map method to Bound)
 - rust-lang#85501 (Fix `deny(invalid_doc_attributes)`)
 - rust-lang#85503 (rustdoc: add tooltips to some buttons)
 - rust-lang#85710 (Document `From` impls in path.rs)
 - rust-lang#85760 (Possible errors when accessing file metadata are platform specific)
 - rust-lang#85974 (td align attribute)
 - rust-lang#86014 (msp430 linker does not accept -znoexecstack. Set linker_is_gnu to fal…)

Failed merges:

 - rust-lang#85972 (Rustdoc html fixes)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 9c7ebc1 into rust-lang:master Jun 5, 2021
@rustbot rustbot added this to the 1.54.0 milestone Jun 5, 2021
@GuillaumeGomez GuillaumeGomez deleted the td-align branch June 5, 2021 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant 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