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

Firefox

17799 readers
59 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

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 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.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 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.

[–] [email protected] 2 points 1 year ago

@julieblanc @firefox @prepostprint keep on coding’ ! let’s leverage hyphenate-limit-lines

load more comments
view more: next ›