content NOT properly copied to the Clipboard for nested DIVS

NEW
Unassigned

Status

()

Core
Selection
17 years ago
11 years ago

People

(Reporter: Jay Farrell, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID:    20011205

When I purformed this test, the very first HTML was not copied properly. 
(12nesteddivs.html) The multi colored box with the 
"This is a massively nested DIV" in the middle was not copied
correctly. The surounding color was not copied, only the center
"red" line was copied. Not sure if this was copied because it had
text in it, and the rest of the colors around it did not contain text.


Reproducible: Always
Steps to Reproduce:
1.follow steps in http://www.mozilla.org/quality/browser/front-
end/testcases/copy-paste/copy-complex-page/copy-complex-page-d.html

Actual Results:  multi-colored box not copied, only the red center with the 
text in it.

Expected Results:  I expected everything to be copied, including all the colors.

I was able to reproduce this on OpenVMS, build from 20011205, as well
as on a Linux machine I have.

Not sure if this is related to:
  55373
  79152
  99314
I didn't think so, but wasn't 100% sure.
This is happening because those colors are only applied due to the global 
stylesheet, which sets nonzero padding on the divs.  Over to selection.  It's 
not clear how, if at all, we should copy global style information... (maybe use 
computed style and create inline style??)
Assignee: asa → mjudge
Component: Browser-General → Selection
QA Contact: doronr → tpreston
Whiteboard: invalid?
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

11 years ago
Assignee: mjudge → nobody
QA Contact: tpreston → selection
Whiteboard: invalid?
You need to log in before you can comment on or make changes to this bug.