Closed Bug 1482371 Opened 6 years ago Closed 5 years ago

spare hyphen at hyphenation of composite words (second part starting with a number)

Categories

(Core :: Layout: Text and Fonts, defect, P3)

63 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1507661

People

(Reporter: bugzilla, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce:

Enabled hyphenation in CSS  (hyphens:auto), (lang=de but also happens with lang=en)
Used a composite word (very common in german language) like "Papilio-3bis6" which has a hyphen in the Middle and the second part starts with a number.




Actual results:

Firefox hyphenation algorithm adds an additional hyphen at the beginning of the second line. It only happens if the second part of the composite word starts with a number. 


Expected results:

Firefox should not add an additional hyphen.
Hi Johannes,

Could you please provide a test script? 

Thanks
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Flags: needinfo?(bugzilla)
Attached file Testcase
Flags: needinfo?(bugzilla)
Attachment #9001302 - Attachment mime type: text/plain → text/html
Component: CSS Parsing and Computation → Layout: Text
Hmm, that's weird. We recently fixed a couple of other hyphenation-related issues (bug 1478574, bug 1476437) which looked a bit similar to this, and with current Nightly the behavior I see is not exactly as described -- but it's still buggy. The extra hyphen now appears at the end of the first line rather than at the beginning of the second.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

This was fixed in bug 1507661.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: