Implement the hyphenate-limit-chars property
Categories
(Core :: Layout: Text and Fonts, enhancement, P3)
Tracking
()
People
(Reporter: hallo, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: feature)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
- Use CSS Hyphenation for a sentence
- Find out that it is also uses Hyphenation for very short words
- Try to find a solution and fail to do so
Actual results:
The hyphenate-limit-chars property is currently not supported in Firefox. It should work as the -ms-hyphenate-limit-chars property in IE/Edge: https://msdn.microsoft.com/en-us/library/hh771865(v=vs.85).aspx
Expected results:
The hyphenate-limit-chars property should be supported in Firefox, so developers can decide how many characters a word should have before hyphens are used and how many characters before/after the break should be the minimum.
Comment 1•2 years ago
|
||
I've moved the bug to a new component and the guys from there will bet an idea of what should o whit this.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Hmm, well, is this in any spec?
Comment 3•2 years ago
|
||
It's in the CSS Text 4 draft:
https://drafts.csswg.org/css-text-4/#hyphenate-char-limits
Description
•