Chromium Code Reviews
DescriptionOnly paste the fragment of text which was copied to the clipboard.
This also changes how clipboard data is copied on windows. Previously we would copy:
"<html>\r\n<body>\r\n<!--StartFragment-->\r\n[CONTENT]\r\n<!--EndFragment-->\r\n</body>\r\n</html>"
However, when pasting this content, we paste everything that's contained between <!--StartFragment--> and <!--EndFragment-->. Thus, we get additional new lines in our pasted content that did not exist in the copied content. AFAICT there is no reason to add this additional newlines when copying clipboard data.
BUG=130827
TEST=Ran updated test case.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144932
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : . #
Messages
Total messages: 15 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||