shared code into utility methods in nsContentUtils. Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs. Bug 251775 and bug 244859, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@160120 18797224-902f-48f8-a5cc-f745e15eee43
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
for bug #86450: pasting plaintext into text area loses significant whitespace
content/base/src/nsDocumentEncoder.cpp
- Look for -moz-pre-wrap in the correct attribute ("style").
editor/base/nsHTMLDataTransfer.cpp
editor/base/nsPlaintextDataTransfer.cpp
- Set the correct mime-type on the encoder and transfer data.
- Pass correct init flags to encoder.
layout/base/src/nsCopySupport.cpp
layout/base/src/nsCopySupport.h:
- Added IsPlainTextContext() method.
- Modified HTMLCopy() to pass correct init flags and
mime-type to the encoder during plaintext copy.
r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99185 18797224-902f-48f8-a5cc-f745e15eee43
bug 57292: copy of table cell contents shouldn't copy cell
bug 57170: some inline style not preserved across copy paste
for all above: r=akkana; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87098 18797224-902f-48f8-a5cc-f745e15eee43