Closed Bug 264998 Opened 20 years ago Closed 20 years ago

Copy function copies text not visible on screen

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 39098

People

(Reporter: mozilla, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

If you hightlight and copy the example below, it will copy the hidden text 
that is not visible on screen. It should only copy what is actually visible on 
screen.

Example HTML:

This is <span style="display: none;">some hidden text and </span> some 
visibile text

Reproducible: Always
Steps to Reproduce:
1. Highlight example given
2. Select 'Copy'
3.

Actual Results:  
The example copies "This is some hidden text and some visibile text" to the 
clipboard

Expected Results:  
It should only copy visible text, so in the example "This is some visibile 
text"

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