Bug 146492

Summary: REGRESSION (r179168): Characters overlap after resizing the font on the copy-pasted Japanese text
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, enrica
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 133744    
Bug Blocks:    
Attachments:
Description Flags
Fixes the bug darin: review+

Description Ryosuke Niwa 2015-06-30 21:21:26 PDT
Reproduction steps:
1. Launch MiniBrowser with ToT WebKit
2. Open simple-rte.rniwa.com
3. Type "a (あ) "
4. Change the font to "Hiragino Kaku Gothic ProN" with size 12pt via fonts panel from the context menu.
5. Copy and paste the text and insert a new line
6. Paste it again and insert another new line.
7. Select all
8. Change fonts weight 36p.t 

Expected result:
Two "あ"s will be shown at 36pt, nicely on top of each other

Actual result:
Two "あ"s vertically overlap on top of each other.
Comment 1 Ryosuke Niwa 2015-06-30 21:32:51 PDT
Created attachment 255897 [details]
Fixes the bug
Comment 2 Ryosuke Niwa 2015-07-01 13:32:21 PDT
Committed r186191: <http://trac.webkit.org/changeset/186191>