this post was submitted on 26 Jul 2023
34 points (94.7% liked)

Firefox

17907 readers
145 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Blink (Chromium, Chrome, Brave, Edge...) now implements the hyphenate-limit-chars property. This is great news for typesetting in #cssprint ! Seven years I've been waiting for this feature ๐ŸŽ‰, beautiful day in web practices. (@firefox we're waiting for you :ablobcatheartsqueeze:)

#web2print #typo #pagedjs @prepostprint

you are viewing a single comment's thread
view the rest of the comments
[โ€“] UlrikHD@programming.dev 8 points 1 year ago* (last edited 1 year ago) (2 children)

No link or explanation for what it does?

Edit:

hyphenate-limit-chars: 10 3 4;

In the CSS rule above, the last declaration indicates to the browser that it should hyphenate only words of 10 characters or more and, when it does, three is the minimum number of characters before the hyphen and four is the minimum after the hyphen.

[โ€“] julieblanc@fosstodon.org 3 points 1 year ago (1 children)
[โ€“] UlrikHD@programming.dev 2 points 1 year ago

Well that was quick. I barely had the time to look it up and edit my comment lol.

Thanks, appreciate the response.