Closed Bug 58625 Opened 24 years ago Closed 24 years ago

Don't copy elements that are display: none

Categories

(Core :: DOM: Selection, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 39098

People

(Reporter: scc, Assigned: mjudge)

References

()

Details

Go to this page

  http://ScottCollins.net/journal/status/2000.10.23.shtml?summary

It has a lot of text hidden by { display: none; }.  Select all the text you see
in the bullet list.  Copy.  Go to a new mail message, a compose window, or a
window in your favorite editor.  Paste.

Wow!  What is all that stuff?  Very surprising to the user.  All the hidden text
is copied.  Copy should not include stuff that was originally hidden with
display: none.  What you see is what you should get.
duplicate of bug 57808

*** This bug has been marked as a duplicate of 39098 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.