Bug 22376 - Soft-hyphen character causes data loss under certain condition
Summary: Soft-hyphen character causes data loss under certain condition
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: All All
: P2 Major
Assignee: Nobody
URL: http://test.kingdesk.com/webkit-shy-e...
Depends on:
Reported: 2008-11-19 20:56 PST by Jeffrey King
Modified: 2008-11-20 05:32 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey King 2008-11-19 20:56:47 PST
When a soft-hyphen (­) is preceded by another soft-hyphen and one intervening character, the hyphen and intervening character are dropped when the word is wrapped at lines end.

The source code shows the full word without the dropped letter, so this appears to be a display issue only - but a very inconvenient one for us who use hyphenation on our websites.

This has been confirmed on Mac and Windows in Safari and Chrome.
Comment 1 Alexey Proskuryakov 2008-11-20 05:32:52 PST
I can reproduce this with shipping Safari, but not with a nightly build.

This was already fixed as <rdar://problem/5607547>, and is tested with fast/text/soft-hyphen-2.html.