Bug 59251 - REGRESSION (r84311): Copy should preserve background color if specified in the body only if the entire content is selected
Summary: REGRESSION (r84311): Copy should preserve background color if specified in th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2011-04-22 16:08 PDT by Enrica Casucci
Modified: 2011-04-27 14:18 PDT (History)
0 users

See Also:


Attachments
Patch (4.67 KB, patch)
2011-04-27 11:58 PDT, Enrica Casucci
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2011-04-22 16:08:36 PDT
Repro steps:
1. Launch Safari and navigate to http://www.yelp.com/biz/cafe-primavera-at-allied-arts-guild-menlo-park-2
2. Select the string "Café Primavera at Allied Arts Guild"
3. Navigate to http://www.mozilla.org/editor/midasdemo/
4. Click in the editable area and paste

Expected
The string "Café Primavera at Allied Arts Guild" is displayed in red and nothing else

Actual
Some additional elements are pasted that provide borders and spacing around the text.
Comment 1 Enrica Casucci 2011-04-22 16:12:24 PDT
<rdar://problem/9327044>
Comment 2 Enrica Casucci 2011-04-27 11:58:22 PDT
Created attachment 91317 [details]
Patch
Comment 3 Enrica Casucci 2011-04-27 14:18:27 PDT
http://trac.webkit.org/changeset/85090