Hyphenation broken in FF 68
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: photon89, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Here is a fiddle which demonstrates the issue: https://jsfiddle.net/yxpa26r7/
The issue does NOT appear with Firefox ESR 60.8, 61, 66, 67. It does appear with Firefox 68 (and Chromium 75 as well).
Actual results:
The fiddle's preview shows
Autob
ahn
Expected results:
The fiddle's preview should show
Auto-
bahn
Comment 1•5 years ago
|
||
It works for me in Nightly (70), Beta (69), but it indeed fails on release (68). I get on macOS
Autoba
hn
Comment 2•5 years ago
|
||
This was a result of bug 1550532, where we suppressed hyphenation for Capitalized words because they're likely to be proper names or similar, and hyphenation is often undesirable for them. German was supposed to be excluded from this rule, because unlike most languages, it capitalizes all nouns, so we do still want to be able to break them.
Unfortunately, there was a bug in the initial implementation of this, such that German might not be correctly excluded. That was fixed in bug 1557291, so this is a dupe of that bug.
I believe you could work around the bug in Firefox 68 by adding a boolean pref intl.hyphenate-capitalized.de : true
in about:config, and then restarting the browser.
Cool, thanks for the explanation! Didn't realize that only capitalized words are affected but now that you are saying it, it fits my observations.
Description
•