5 ms·
I'm confused, this was created by Webkit, but is currently only available on Chromium based browsers according to : https://caniuse.com/?search=text-wrap%20pret
by executesorder66 1y ago
I'm confused, this was created by Webkit, but is currently only available on Chromium based browsers according to : https://caniuse.com/?search=text-wrap%20pretty https://caniuse.com/?search=text-wrap%20pretty
How did that happen?
- velcrovan 1y agoIt wasn't created by WebKit. WebKit is announcing (at last) support for it.
- executesorder66 1y agoNow it makes much more sense. I realize I misread "One solution is text-wrap:pretty" as "OUr solution is text-wrap:pretty". Combined with the fact that this was on the webkit blog. Thanks.
- alwillis 1y agoThe WebKit implementation is the only one that can handle many pages of text with no noticeable performance hit, while Chrome and Firefox are limited to only dealing with the last 4 or 6 lines of a paragraph.
- TiredOfLife 1y agoFirefox doesn't have this feature at all.
- mrandish 1y agoI was curious as it seems like a nice thing to have and I use Firefox, so I looked it up. It's been suggested and you can upvote it here: https://connect.mozilla.org/t5/ideas/text-wrap-pretty-for-desktop-mobile/idi-p/63133 https://connect.mozilla.org/t5/ideas/text-wrap-pretty-for-de.... Per the last post there (Aug 24). > Mozilla standard position on this feature is positive > https://github.com/mozilla/standards-positions/issues/993 https://github.com/mozilla/standards-positions/issues/993
- TiredOfLife 1y agoFirefox has 20 year old rendering related bugs still open
- ameliaquining 1y agotext-wrap: pretty tells the browser to wrap the text so as to make it look pretty. But the CSS standard doesn't specify what exactly that means; it's up to each individual browser to decide what algorithm yields the prettiest results. Chromium is the only browser engine whose stable channel currently supports text-wrap: pretty. In this post, WebKit is announcing not only that they've implemented it (though not yet in a stable channel), but that they've done so using an algorithm that's better than Chromium's. Their algorithm adjusts for various things that Chromium's currently does not.
- moogleii 1y agohttps://news.ycombinator.com/item?id=43630964 https://news.ycombinator.com/item?id=43630964