Bug 5384 - Soft hyphen displayed as hyphen when it is the first character in a line/run
Summary: Soft hyphen displayed as hyphen when it is the first character in a line/run
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: David Harrison
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 05:17 PDT by mitz
Modified: 2005-10-25 01:54 PDT (History)
0 users

See Also:


Attachments
testcase (528 bytes, text/html)
2005-10-14 05:18 PDT, mitz
no flags Details
extended testcase (1.65 KB, text/html)
2005-10-17 16:18 PDT, mitz
no flags Details
ignore soft hyphens at position 0 (5.34 KB, patch)
2005-10-17 16:20 PDT, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2005-10-14 05:17:17 PDT
Summary: a soft hyphen character is displayed as a hyphen when it is the first character in a line or inline 
element.

To reproduce: open the test case in Safari.

Expected: no hyphens to be appear before "lorem" in any of the cases.

Actual: hyphens appear before "lorem" in all cases.
Comment 1 mitz 2005-10-14 05:18:54 PDT
Created attachment 4358 [details]
testcase
Comment 2 mitz 2005-10-17 16:18:49 PDT
Created attachment 4387 [details]
extended testcase
Comment 3 mitz 2005-10-17 16:20:36 PDT
Created attachment 4388 [details]
ignore soft hyphens at position 0
Comment 4 Darin Adler 2005-10-17 17:35:40 PDT
Comment on attachment 4388 [details]
ignore soft hyphens at position 0

r=me (Dave looked at this too)
Comment 5 David Harrison 2005-10-24 16:03:25 PDT
Committing this one.
Comment 6 Beth Dakin 2005-10-24 16:11:58 PDT
I committed this patch.