- From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
- Date: Sun, 18 Jun 2023 21:45:14 +0000
- To: public-css-archive@w3.org
I don't think having the author supplying numbers is the right solution to avoiding rivers. Different browsers and operating systems will use different fonts, or different metrics from the same fonts, or different line breaking opportunities. So if you tune the numbers to look good in one browser on one OS, that might make it look actively awful on another browser on another OS. If what you want is to tell the browser to avoid rivers, then the CSS should just say “avoid rivers” and not “use these three magic numbers which I have tuned on my development machine” But that's what `text-wrap: pretty` is supposed to do. When I proposed `text-wrap: pretty` to the standardization group, I assumed it would work similarly to the Knuth & Plass algorithm, which _does_ try to reduce rivers. The property is supposed to recognize that justification is enabled, and react accordingly to pick different line breaks. -- GitHub Notification of comment by litherum Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7738#issuecomment-1596277455 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 18 June 2023 21:45:17 UTC