prevent line number from being copied in chrome by el-ev · Pull Request #146877 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation9 Commits1 Checks10 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

@el-ev

@rustbot

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-rustdoc

Relevant to the rustdoc team, which will review and decide on the PR/issue.

T-rustdoc-frontend

Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

labels

Sep 22, 2025

@rustbot

r? @GuillaumeGomez

rustbot has assigned @GuillaumeGomez.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@fmease

It'd be worthwhile to investigate if this is a Chrome bug or a Firefox one (i.e., what does the spec say?) and find the corresp. upstream ticket to link to.

@el-ev

@lolbinarycat

The whole "copy" event handler has a comment saying it's for firefox, probably want to move or rewrite that so it makes more sense. Something like "workaround for multiple browser-specific bugs". Also I think it would make sense to link to the chrome bug report like we do with the firefox bug report.

@el-ev

@el-ev

GuillaumeGomez

@GuillaumeGomez

Thanks!

@bors r=fmease,lolbinarycat,GuillaumeGomez

@GuillaumeGomez

@bors

📌 Commit 9ae7aef has been approved by fmease,lolbinarycat,GuillaumeGomez

It is now in the queue for this repository.

@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

Sep 23, 2025

bors added a commit that referenced this pull request

Sep 23, 2025

@bors

Rollup of 10 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Sep 23, 2025

@rust-timer

Rollup merge of #146877 - el-ev:issue146816, r=fmease,lolbinarycat,GuillaumeGomez

prevent line number from being copied in chrome

Fix the issue where line numbers are copied along with code in Chrome

Muscraft pushed a commit to Muscraft/rust that referenced this pull request

Sep 24, 2025

@matthiaskrgr @Muscraft

…arycat,GuillaumeGomez

prevent line number from being copied in chrome

Fix the issue where line numbers are copied along with code in Chrome

Muscraft pushed a commit to Muscraft/rust that referenced this pull request

Sep 24, 2025

@bors @Muscraft

Labels

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.

T-rustdoc-frontend

Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.