34
submitted 1 year ago* (last edited 1 year ago) by julieblanc@fosstodon.org to c/firefox@lemmy.ml

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)

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
[-] 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.

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

Firefox

17957 readers
314 users here now

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

founded 4 years ago
MODERATORS