Open Bug 567362 Opened 14 years ago Updated 2 years ago

Invisible table elements (visibility:collapse) get copied to the clipboard

Categories

(Core :: DOM: Serializers, defect)

defect

Tracking

()

Tracking Status
blocking2.0 --- -

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(Keywords: helpwanted, testcase)

Attachments

(1 file, 1 obsolete file)

Attached file Testcase
+++ This bug was initially created as a clone of Bug #39098 +++

DESCRIPTION:
Invisible table elements (visibility:collapse) get copied to the clipboard.

STEPS TO REPRODUCE
1. load attached testcase
2. Select All (CTRL+A)
3. Copy (CTRL+C)
4. Paste into a text document

ACTUAL RESULTS
    I would like to be hidden as well, please.
I would like to be hidden as well, please.
Just me on this page...Nobody else. 

EXPECTED RESULTS
Just me on this page...Nobody else.
Keywords: testcase
No longer blocks: 565508
Observation: We do render the collapsed cells in accessibility as if they were normal table cells.
(In reply to comment #1)
> Observation: We do render the collapsed cells in accessibility as if they were
> normal table cells.

Theoretically we might want to expose accessible objects with state hidden state for anything hidden or collapsed at least it shouldn't hurt anybody. But that shouldn't affect on clipboard behavior I'd say.

However it's interesting how do the copied/pasted table feel if collapsed cells are presented within it. Would it be broken?
Well, it's not about "collapse" only, but same wrong behavior I see with "display:none" for TD.
Attached file Test case for display:none (obsolete) —
yerenkow@uct.ua, bug 39098 is only fixed in pre-release builds of Firefox 4,
which version of Firefox are you testing?
The testcase works for me in the latest Firefox 4 nightly: it only copies this to the clipboard:
1  	3
Steffen, I'm glad it's fixed in FF4. Is there any info about fix this in FF3?
Bug 39098 will not be fixed for Firefox 3.x
Attachment #477455 - Attachment is obsolete: true
If I've understood correctly, this bug has been fixed by bug 39098. This bug should be marked either fixed (fixed in trunk and firefox 4) or wontfix (won't fix in firefox 3.x).
No longer blocks: errorpages
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: