Closed Bug 306022 Opened 19 years ago Closed 19 years ago

content of invisible <div> is copied into clipboard

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 39098

People

(Reporter: ph0enix, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0+

when selected text on web-page contains invisible <div>, it's content appears in
clipboard

Reproducible: Always

Steps to Reproduce:
1. create simple html
---
text
<div style="display: none;">invisible</div><div style="display:
inline;">visible</div>
---
2. select "text visible"
3. paste it somewhere

Actual Results:  
pasted text is "text invisible visible"

Expected Results:  
pasted text is "text visible"

also tested on Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.10) Gecko/20050720
Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

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