Bug 59251

Summary: REGRESSION (r84311): Copy should preserve background color if specified in the body only if the entire content is selected
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: HTML EditingAssignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar, Regression
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

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