Bug 86663

Summary: REGRESSION(r92823): WebKit strips font-weight: normal from b element when copying
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: dcheng, enrica, tony, webkit.review.bot
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug none

Description Ryosuke Niwa 2012-05-16 11:59:29 PDT
Reproduction steps:
1. Open the following HTML:
    <b style="font-weight: normal;">Copy all and paste</b>
2. Select all & copy
3. Paste in some richly content editable area.

Expected result:
"Copy all and paste" isn't bolded in the pasted context

Actual result"
"Copy all and paste" is bolded.
Comment 1 Ryosuke Niwa 2012-05-16 13:40:55 PDT
http://crbug.com/128394.
Comment 2 Ryosuke Niwa 2012-05-16 15:11:33 PDT
This is a very old regression from r92823.
Comment 3 Ryosuke Niwa 2012-05-16 15:27:58 PDT
Created attachment 142352 [details]
Fixes the bug

Very simple fix.
Comment 4 WebKit Review Bot 2012-05-16 16:29:37 PDT
Comment on attachment 142352 [details]
Fixes the bug

Clearing flags on attachment: 142352

Committed r117361: <http://trac.webkit.org/changeset/117361>
Comment 5 WebKit Review Bot 2012-05-16 16:29:41 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Alexey Proskuryakov 2012-05-17 11:53:44 PDT
<rdar://problem/11476367>