Bug 86663 - REGRESSION(r92823): WebKit strips font-weight: normal from b element when copying
Summary: REGRESSION(r92823): WebKit strips font-weight: normal from b element when cop...
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Ryosuke Niwa
Keywords: InRadar
Depends on:
Reported: 2012-05-16 11:59 PDT by Ryosuke Niwa
Modified: 2012-05-17 11:53 PDT (History)
4 users (show)

See Also:

Fixes the bug (3.67 KB, patch)
2012-05-16 15:27 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
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