View Single Post
Old 11-03-2020, 10:27 PM   #194
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
See https://www.w3.org/TR/css-text-4/#hyphenation for the details. In short:
  • -webkit-hyphenate-limit-after is integrated into the standards-track "hyphenate-limit-chars" property. It specifies the minimum number of characters that must occur after a hyphen.
  • -webkit-hyphenate-limit-before is also integrated into the standards-track "hyphenate-limit-chars" property. It specifies the minimum number of characters that must occur before a hyphen.
  • -webkit-hyphenate-limit-lines limits the number of successive hyphenated lines. Set to 2, it means you'll never see 3 or more lines together with hyphens at the end.

The standards-track "hyphenate-limit-chars" property also allows specifying the minimum number of characters a word must have to be considered for hyphenation at all.
jgoguen is offline   Reply With Quote